common: fix compile warning message 87/46087/1 accepted/tizen/mobile/20150815.071803 accepted/tizen/tv/20150815.072115 accepted/tizen/wearable/20150815.072525 submit/tizen/20150814.112617
authorSuchang Woo <suchang.woo@samsung.com>
Fri, 14 Aug 2015 10:29:06 +0000 (19:29 +0900)
committerSuchang Woo <suchang.woo@samsung.com>
Fri, 14 Aug 2015 10:29:06 +0000 (19:29 +0900)
Change-Id: I562044593e56ef1fb195099f6576a20185efb515
Signed-off-by: Suchang Woo <suchang.woo@samsung.com>
common/proto.c

index 0246640..e5d19e8 100644 (file)
@@ -182,8 +182,8 @@ static int recv_data(struct recv_info *rif, uint32_t len)
        }
 
        if (r < sizeof(*hdr) + len) {
-               bxt_err("recv: fd %d expect %d > received %d",
-                               rif->fd, sizeof(*hdr) + len, r);
+               bxt_err("recv: fd %d expect %u > received %d",
+                               rif->fd, (uint32_t)sizeof(*hdr) + len, r);
                return -1;
        }