diff options
author | Dongsun Lee <ds73.lee@samsung.com> | 2015-07-24 14:17:54 +0900 |
---|---|---|
committer | Dongsun Lee <ds73.lee@samsung.com> | 2015-07-24 14:18:41 +0900 |
commit | 391c9b75f18989c2778c0cc804a4eddb38a3f050 (patch) | |
tree | 65fff8cfa59d1902ba1ed61d8670c8305989038f | |
parent | 7abaa019637e0a534969d304cae7f7f43c4ab0a6 (diff) | |
download | libwebappenc-391c9b75f18989c2778c0cc804a4eddb38a3f050.tar.gz libwebappenc-391c9b75f18989c2778c0cc804a4eddb38a3f050.tar.bz2 libwebappenc-391c9b75f18989c2778c0cc804a4eddb38a3f050.zip |
bug fix in test codes for 64bit buildsubmit/tizen/20150724.052048accepted/tizen/wearable/20150724.055402accepted/tizen/tv/20150724.055342accepted/tizen/mobile/20150724.055328
Change-Id: If64499d0636ea6a08d9a96f73f83fa7d57d858e4
Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
-rw-r--r-- | tests/wae_tests.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/wae_tests.c b/tests/wae_tests.c index 49b6b32..18527d0 100644 --- a/tests/wae_tests.c +++ b/tests/wae_tests.c @@ -31,9 +31,9 @@ #include <tzplatform_config.h> -static size_t tc_seq = 0; -static size_t tc_succ = 0; -static size_t tc_fail = 0; +static int tc_seq = 0; +static int tc_succ = 0; +static int tc_fail = 0; #define FPRINTF(format, args...) fprintf(stdout, format, ##args) @@ -203,7 +203,7 @@ int wae_tc_encrypt_decrypt_aes_cbc() } if(plaintextLen != decLen) { - FPRINTF("...FAIL: plaintextLen(%d) != decLen(%d)\n", plaintextLen, decLen); + FPRINTF("...FAIL: plaintextLen(%d) != decLen(%d)\n", (int) plaintextLen, (int) decLen); ret = WAE_ERROR_CRYPTO; goto error; } @@ -705,7 +705,7 @@ int wae_tc_encrypt_decrypt_web_application() } if(plaintextLen != decLen) { - FPRINTF("...FAIL: plaintextLen(%d) != decLen(%d)\n", plaintextLen, decLen); + FPRINTF("...FAIL: plaintextLen(%d) != decLen(%d)\n", (int) plaintextLen, (int) decLen); ret = WAE_ERROR_CRYPTO; goto error; } @@ -754,7 +754,7 @@ int wae_tc_encrypt_decrypt_web_application() _remove_app_dek_from_cache(pkgId2); if(plaintextLen != decLen) { - FPRINTF("...FAIL: plaintextLen(%d) != decLen(%d)\n", plaintextLen, decLen); + FPRINTF("...FAIL: plaintextLen(%d) != decLen(%d)\n", (int) plaintextLen, (int) decLen); ret = WAE_ERROR_CRYPTO; goto error; } |