History

Avoid warnings about comparison between signed and unsigned

There's no need for these variables to be explicitly unsigned. This also matches the function above.

Martin Storsjö committed 12 years ago

Commit c3710c41 parent 40ca34a1 file · +12 −12Browse files

Showing the changes to test/processing/ProcessUT_DownSample.cpp (1 of 1 file). Show all

Unified · Split

test/processing/ProcessUT_DownSample.cpp+12−12
@@ -207,20 +207,20 @@ TEST (DownSampleTest, func) { \ · 206 unmodified lines
207207 } \
208208 ENFORCE_STACK_ALIGN_1D (uint8_t, dst_c, 70000, 16); \
209209 ENFORCE_STACK_ALIGN_1D (uint8_t, src_c, 70000, 16); \
210− unsigned int dst_stride_c; \
211− unsigned int dst_width_c; \
212− unsigned int dst_height_c; \
213− unsigned int src_stride_c; \
214− unsigned int src_width_c; \
215− unsigned int src_height_c; \
210+ int dst_stride_c; \
211+ int dst_width_c; \
212+ int dst_height_c; \
213+ int src_stride_c; \
214+ int src_width_c; \
215+ int src_height_c; \
216216 ENFORCE_STACK_ALIGN_1D (uint8_t, dst_a, 70000, 16); \
217217 ENFORCE_STACK_ALIGN_1D (uint8_t, src_a, 70000, 16); \
218− unsigned int dst_stride_a; \
219− unsigned int dst_width_a; \
220− unsigned int dst_height_a; \
221− unsigned int src_stride_a; \
222− unsigned int src_width_a; \
223− unsigned int src_height_a; \
218+ int dst_stride_a; \
219+ int dst_width_a; \
220+ int dst_height_a; \
221+ int src_stride_a; \
222+ int src_width_a; \
223+ int src_height_a; \
224224 dst_stride_c = dst_stride_a = 320; \
225225 src_stride_c = src_stride_a = 320; \
226226 src_width_c = src_width_a = 320; \

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t