|
|
|
|
|
by peterbotond
5569 days ago
|
|
the lmin[1] macro will convert the uints to a long int and then do the arithmetic. [1]static __inline long lmin(long a, long b) { return (a < b ? a : b); } [2]static __inline u_int min(u_int a, u_int b) { return (a < b ? a : b); } Edit:
6.3.1.8 Usualarithmetic conversions in the c-99 standard. |
|