diff common.h @ 38:e7df68ba31a2 libavutil

clip_uint8 should return an uint8_t instead of an int (patch by Panagiotis Issaris < takis.issaris _at_ uhasselt.be >)
author aurel
date Sun, 30 Apr 2006 17:49:11 +0000
parents 59ae491910a5
children c25cab283094
line wrap: on
line diff
--- a/common.h	Sat Apr 29 16:02:28 2006 +0000
+++ b/common.h	Sun Apr 30 17:49:11 2006 +0000
@@ -437,7 +437,7 @@
         return a;
 }
 
-static inline int clip_uint8(int a)
+static inline uint8_t clip_uint8(int a)
 {
     if (a&(~255)) return (-a)>>31;
     else          return a;