use bwsap.h
authorSon Hyunjun <hj79.son@samsung.com>
Wed, 14 Mar 2012 12:23:15 +0000 (21:23 +0900)
committerSon Hyunjun <hj79.son@samsung.com>
Wed, 14 Mar 2012 12:23:15 +0000 (21:23 +0900)
tizen/src/skin/maruskin_server.c

index a273500..5634467 100644 (file)
@@ -46,6 +46,7 @@
 #include "maruskin_server.h"
 #include "maruskin_operation.h"
 #include "debug_ch.h"
+#include "bswap.h"
 
 MULTI_DEBUG_CHANNEL( qemu, maruskin_server );
 
@@ -260,7 +261,7 @@ static void* run_skin_server( void* args ) {
                 memcpy( &length, p, sizeof( length ) );
 
                 pid = ntohl( pid );
-                req_id = be64toh(req_id);
+                req_id = bswap_64(req_id);
                 cmd = ntohs( cmd );
                 length = ntohs( length );