Subject: lint warning in /usr/include/machine/lock.h.
To: None <port-alpha@netbsd.org>
From: Simon Burge <simonb@netbsd.org>
List: port-alpha
Date: 06/06/2000 09:09:18
In /usr/include/machine/lock.h, lint complains that the following

	static __inline int
	__cpu_simple_lock_try(__cpu_simple_lock_t *alp)
	{
		unsigned long t0, v0;
		...
		return (v0);
	}

"warning: conversion from 'unsigned long' may lose accuracy".

Should __cpu_simple_lock_try return an 'unsigned long'?  I haven't
looked further to see where this is used...

Simon.