From: root Date: Sun, 15 Aug 2004 07:20:16 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=ac55563c26247453d559353649222e11099a9c56;p=dana%2Furxvt.git *** empty log message *** --- diff --git a/src/rxvtutil.h b/src/rxvtutil.h index 10b7501f..d7aaad7c 100644 --- a/src/rxvtutil.h +++ b/src/rxvtutil.h @@ -12,8 +12,10 @@ public: static bool vax () { return e == 0x44332211; }; } byteorder; -template static inline T min (T a, U b) { return a < b ? a : b; } -template static inline T max (T a, U b) { return a > b ? a : b; } +template +static inline T min (T a, U b) { return a < b ? a : (T)b; } +template +static inline T max (T a, U b) { return a > b ? a : (T)b; } #include "simplevec.h"