[Hamlib-cvs-digest] CVS: hamlib/include/hamlib rig.h,1.7,1.8
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: Stephane F. <f4...@us...> - 2000-10-30 21:45:30
|
Update of /cvsroot/hamlib/hamlib/include/hamlib In directory slayer.i.sourceforge.net:/tmp/cvs-serv19747 Modified Files: rig.h Log Message: * misc fix of the size of immediate value (long long) Index: rig.h =================================================================== RCS file: /cvsroot/hamlib/hamlib/include/hamlib/rig.h,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -r1.7 -r1.8 *** rig.h 2000/10/29 16:29:07 1.7 --- rig.h 2000/10/30 21:45:27 1.8 *************** *** 270,275 **** #define Hz(f) ((freq_t)(f)) #define KHz(f) ((freq_t)((f)*1000)) ! #define MHz(f) ((freq_t)((f)*1000000)) ! #define GHz(f) ((freq_t)((f)*1000000000)) /* --- 270,275 ---- #define Hz(f) ((freq_t)(f)) #define KHz(f) ((freq_t)((f)*1000)) ! #define MHz(f) ((freq_t)((f)*1000000L)) ! #define GHz(f) ((freq_t)((f)*1000000000LL)) /* *************** *** 278,282 **** #define mW(p) ((int)(p)) #define Watts(p) ((int)((p)*1000)) ! #define KW(p) ((int)((p)*1000000)) typedef unsigned int rmode_t; /* radio mode */ --- 278,282 ---- #define mW(p) ((int)(p)) #define Watts(p) ((int)((p)*1000)) ! #define KW(p) ((int)((p)*1000000L)) typedef unsigned int rmode_t; /* radio mode */ |