From: Seonah Moon Date: Thu, 12 May 2016 09:26:05 +0000 (+0900) Subject: Fix build error(64bit) X-Git-Tag: submit/tizen/20160512.095454^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F51%2F69251%2F1;p=platform%2Fcore%2Fapi%2Fhttp.git Fix build error(64bit) Change-Id: I17beb616033cc68bf5e0ad12f2e58add914205ec Signed-off-by: Seonah Moon --- diff --git a/packaging/capi-network-http.spec b/packaging/capi-network-http.spec index 7e348f0..e586ffd 100644 --- a/packaging/capi-network-http.spec +++ b/packaging/capi-network-http.spec @@ -1,6 +1,6 @@ Name: capi-network-http Summary: Http Framework -Version: 0.0.4 +Version: 0.0.5 Release: 0 Group: System/Network License: Apache-2.0 diff --git a/test/http_test.c b/test/http_test.c index 8c370c7..48e6e19 100644 --- a/test/http_test.c +++ b/test/http_test.c @@ -211,7 +211,7 @@ int test_simple_post(void) http_transaction_set_ready_to_write(transaction, TRUE); http_transaction_request_write_body(transaction, post_msg); - sprintf(field_value, "%d", strlen(post_msg)); + sprintf(field_value, "%d", (int)strlen(post_msg)); printf("[dbg] post size (%s)\n", field_value); http_transaction_header_add_field(transaction, "Content-Length", field_value);