summaryrefslogtreecommitdiff
path: root/src/tests/eina
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2012-10-04 09:31:46 +0000
committerCedric BAIL <cedric.bail@free.fr>2012-10-04 09:31:46 +0000
commit1000f350e370a788ff5b2ff248b36872ccf43a71 (patch)
tree43854493ee2b047781b18e713b0cdef51c1c5667 /src/tests/eina
parentc3fd0444b1d78035b12acf7dde7cec5ff1f37df2 (diff)
efl: backport Igor's eina patch.
SVN revision: 77415
Diffstat (limited to 'src/tests/eina')
-rw-r--r--src/tests/eina/eina_test_error.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/eina/eina_test_error.c b/src/tests/eina/eina_test_error.c
index 57f69504cc..962f2ded44 100644
--- a/src/tests/eina/eina_test_error.c
+++ b/src/tests/eina/eina_test_error.c
@@ -158,7 +158,7 @@ START_TEST(eina_error_test_lots)
158 158
159 for (i = 0; i < sizeof(codes)/sizeof(codes[0]); i++) 159 for (i = 0; i < sizeof(codes)/sizeof(codes[0]); i++)
160 { 160 {
161 snprintf(buf, sizeof(buf), "myerr-%d", i); 161 snprintf(buf, sizeof(buf), "myerr-%u", i);
162 codes[i] = eina_error_msg_register(buf); 162 codes[i] = eina_error_msg_register(buf);
163 ck_assert_int_ne(codes[i], 0); 163 ck_assert_int_ne(codes[i], 0);
164 } 164 }
@@ -167,7 +167,7 @@ START_TEST(eina_error_test_lots)
167 { 167 {
168 int found; 168 int found;
169 169
170 snprintf(buf, sizeof(buf), "myerr-%d", i); 170 snprintf(buf, sizeof(buf), "myerr-%u", i);
171 171
172 found = eina_error_find(buf); 172 found = eina_error_find(buf);
173 ck_assert_int_eq(codes[i], found); 173 ck_assert_int_eq(codes[i], found);