diff options
author | Ralph Giles <giles@mozilla.com> | 2011-11-30 09:55:08 -0800 |
---|---|---|
committer | Ralph Giles <giles@mozilla.com> | 2012-03-05 17:09:53 -0800 |
commit | 5c06f8c585e6c1a8ee206ff02f19613046ed8aeb (patch) | |
tree | 6006a7a44d89bee50ec3a7e76609920ea42dcdd5 /celt/fixed_debug.h | |
parent | a69368e1c0a028b50f1c00864d9c7c2f4527a089 (diff) | |
download | opus-5c06f8c585e6c1a8ee206ff02f19613046ed8aeb.tar.gz |
Used unsigned intermediates with unsigned arguments in fixed_debug.h.
Corrects a signed-compare warning.
Diffstat (limited to 'celt/fixed_debug.h')
-rw-r--r-- | celt/fixed_debug.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/celt/fixed_debug.h b/celt/fixed_debug.h index 5408d904..311858da 100644 --- a/celt/fixed_debug.h +++ b/celt/fixed_debug.h @@ -248,7 +248,7 @@ static inline int SUB32_(long long a, long long b, char *file, int line) #define UADD32(a, b) UADD32_(a, b, __FILE__, __LINE__) static inline unsigned int UADD32_(unsigned long long a, unsigned long long b, char *file, int line) { - long long res; + unsigned long long res; if (!VERIFY_UINT(a) || !VERIFY_UINT(b)) { fprintf (stderr, "UADD32: inputs are not int: %u %u in %s: line %d\n", (unsigned)a, (unsigned)b, file, line); @@ -266,7 +266,7 @@ static inline unsigned int UADD32_(unsigned long long a, unsigned long long b, c #define USUB32(a, b) USUB32_(a, b, __FILE__, __LINE__) static inline unsigned int USUB32_(unsigned long long a, unsigned long long b, char *file, int line) { - long long res; + unsigned long long res; if (!VERIFY_UINT(a) || !VERIFY_UINT(b)) { /*fprintf (stderr, "USUB32: inputs are not int: %llu %llu in %s: line %d\n", (unsigned)a, (unsigned)b, file, line);*/ |