Subject: Plain stupid lint
To: None <tech-toolchain@NetBSD.org>
From: Martin Husemann <martin@duskware.de>
List: tech-toolchain
Date: 02/20/2005 17:24:50
I just disabled lint -w on libradius. One of the problems is that it warns
about constructs like
vsnprintf(errmsg, 128, ....);
with:
radlib.c(111): warning: conversion to 'unsigned long' due to prototype, arg #2 [259]
Actually the 128 is a macro there, but it shouldn't matter.
Can anybody explain the value of this warning for int literals and conversion
to bigger size? IMHO it is a bug in lint that should be fixed.
Martin