Re: [Hamlib-developer] Minor cleanup needed
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: Christoph v. W. <DL...@da...> - 2025-06-24 17:16:17
|
> > The size_t(3) man page states size_t is an unsigned integer and here in > rig.c the 'needed' variable is of the size_t type. Thus 'u' should be > correct. > This is (only) true for a specific system. What the size_t type is all about is that it can be different on different systems. Do not draw conclusions for coding from a specific system. My advice is to use %ul and type-cast the argument to unsigned long, this should work (as of now) on any system I know of. Yours, DL1YCF. |