From: Son Hyunjun Date: Wed, 14 Mar 2012 12:23:15 +0000 (+0900) Subject: use bwsap.h X-Git-Tag: TizenStudio_2.0_p2.3~1733 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bf5387f0ac0cac436568fddeedaf9bda5b009582;p=sdk%2Femulator%2Fqemu.git use bwsap.h --- diff --git a/tizen/src/skin/maruskin_server.c b/tizen/src/skin/maruskin_server.c index a273500..5634467 100644 --- a/tizen/src/skin/maruskin_server.c +++ b/tizen/src/skin/maruskin_server.c @@ -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 );