aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests
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
parentc3fd0444b1d78035b12acf7dde7cec5ff1f37df2 (diff)
downloadefl-1000f350e370a788ff5b2ff248b36872ccf43a71.tar.gz
efl-1000f350e370a788ff5b2ff248b36872ccf43a71.tar.xz
efl-1000f350e370a788ff5b2ff248b36872ccf43a71.zip
efl: backport Igor's eina patch.
SVN revision: 77415
Diffstat (limited to 'src/tests')
-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 57f69504c..962f2ded4 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)
for (i = 0; i < sizeof(codes)/sizeof(codes[0]); i++)
{
- snprintf(buf, sizeof(buf), "myerr-%d", i);
+ snprintf(buf, sizeof(buf), "myerr-%u", i);
codes[i] = eina_error_msg_register(buf);
ck_assert_int_ne(codes[i], 0);
}
@@ -167,7 +167,7 @@ START_TEST(eina_error_test_lots)
{
int found;
- snprintf(buf, sizeof(buf), "myerr-%d", i);
+ snprintf(buf, sizeof(buf), "myerr-%u", i);
found = eina_error_find(buf);
ck_assert_int_eq(codes[i], found);