From ac55563c26247453d559353649222e11099a9c56 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 15 Aug 2004 07:20:16 +0000 Subject: [PATCH] *** empty log message *** --- src/rxvtutil.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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" -- 2.34.1