shithub: openh264

Download patch

ref: 22e7750bb31165ff33665f6240a145ed0b50cbb8
parent: 2361f7543b3489a5d950425d816e014ff07fdcfe
parent: c3710c4130169f87e45f4b97609209776c228949
author: zhilwang <[email protected]>
date: Thu Aug 28 12:42:02 EDT 2014

Merge pull request #1316 from mstorsjo/avoid-warnings

Avoid warnings about comparison between signed and unsigned

--- a/test/processing/ProcessUT_DownSample.cpp
+++ b/test/processing/ProcessUT_DownSample.cpp
@@ -207,20 +207,20 @@
   } \
   ENFORCE_STACK_ALIGN_1D (uint8_t, dst_c, 70000, 16); \
   ENFORCE_STACK_ALIGN_1D (uint8_t, src_c, 70000, 16); \
-  unsigned int dst_stride_c; \
-  unsigned int dst_width_c; \
-  unsigned int dst_height_c; \
-  unsigned int src_stride_c; \
-  unsigned int src_width_c; \
-  unsigned int src_height_c; \
+  int dst_stride_c; \
+  int dst_width_c; \
+  int dst_height_c; \
+  int src_stride_c; \
+  int src_width_c; \
+  int src_height_c; \
   ENFORCE_STACK_ALIGN_1D (uint8_t, dst_a, 70000, 16); \
   ENFORCE_STACK_ALIGN_1D (uint8_t, src_a, 70000, 16); \
-  unsigned int dst_stride_a; \
-  unsigned int dst_width_a; \
-  unsigned int dst_height_a; \
-  unsigned int src_stride_a; \
-  unsigned int src_width_a; \
-  unsigned int src_height_a; \
+  int dst_stride_a; \
+  int dst_width_a; \
+  int dst_height_a; \
+  int src_stride_a; \
+  int src_width_a; \
+  int src_height_a; \
   dst_stride_c = dst_stride_a = 320; \
   src_stride_c = src_stride_a = 320; \
   src_width_c = src_width_a = 320; \