From: Mateusz Malicki Date: Wed, 20 May 2015 09:03:39 +0000 (+0200) Subject: Fix building on x86_64 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F46%2F39646%2F2;p=platform%2Fcore%2Fsecurity%2Fvasum.git Fix building on x86_64 [Bug] Removed unneeded cast [Cause] Lose precision cast [Solution] N/A [Verification] Build on x86_64 Change-Id: I2302eaefed4f0c94f29ad94468ff9d83fa15166e --- diff --git a/wrapper/wrapper.cpp b/wrapper/wrapper.cpp index 72eece3..9483a87 100644 --- a/wrapper/wrapper.cpp +++ b/wrapper/wrapper.cpp @@ -718,7 +718,7 @@ API const char *vsm_error_string(vsm_error_e e) return vsm_error_string_v0_34((struct vsm_context *)ctx); } else { - return vsm_error_string_v0_3_1(static_cast((int)ctx)); + return vsm_error_string_v0_3_1(e); } }