repo: rxvt-unicode-sixel action: commit revision: path_from: revision_from: 22c2d95735f597d01912f4767b98464d0ab70469: path_to: revision_to:
commit 22c2d95735f597d01912f4767b98464d0ab70469 Author: Marc LehmannDate: Sun Aug 15 07:20:16 2004 +0000 *** empty log message *** diff --git a/src/rxvtutil.h b/src/rxvtutil.h
--- 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"
-----END OF PAGE-----