repo: rxvt-unicode-sixel
action: commit
revision: 
path_from: 
revision_from: 22c2d95735f597d01912f4767b98464d0ab70469:
path_to: 
revision_to: 
git.thebackupbox.net
rxvt-unicode-sixel
git clone git://git.thebackupbox.net/rxvt-unicode-sixel
commit 22c2d95735f597d01912f4767b98464d0ab70469
Author: Marc Lehmann 
Date:   Sun Aug 15 07:20:16 2004 +0000

    *** empty log message ***

diff --git a/src/rxvtutil.h b/src/rxvtutil.h
index 10b7501f2434a923b10b1abccfba5f53f1a1e344..
index ..d7aaad7cb082df02006f472da6b3cb37a68327f1 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"

-----END OF PAGE-----