Fix building on x86_64 46/39646/2
authorMateusz Malicki <m.malicki2@samsung.com>
Wed, 20 May 2015 09:03:39 +0000 (11:03 +0200)
committerDariusz Michaluk <d.michaluk@samsung.com>
Wed, 20 May 2015 12:16:11 +0000 (05:16 -0700)
[Bug]           Removed unneeded cast
[Cause]         Lose precision cast
[Solution]      N/A
[Verification]  Build on x86_64

Change-Id: I2302eaefed4f0c94f29ad94468ff9d83fa15166e

wrapper/wrapper.cpp

index 72eece3..9483a87 100644 (file)
@@ -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<vsm_error_e>((int)ctx));
+        return vsm_error_string_v0_3_1(e);
     }
 }