Fix build for 64-bit 87/144187/2
authorVyacheslav Cherkashin <v.cherkashin@samsung.com>
Mon, 14 Aug 2017 11:52:39 +0000 (14:52 +0300)
committerVyacheslav Cherkashin <v.cherkashin@samsung.com>
Thu, 17 Aug 2017 12:16:03 +0000 (15:16 +0300)
Change-Id: I22a3c46e28ed07e36463a61a384cbe795c9724f4
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
parser/msg_cmd.c

index 07fe326..e5a713c 100644 (file)
@@ -86,7 +86,7 @@ int msg_start(struct msg_buf *mb)
                return -EINVAL;
 
        if (!is_end_mb(mb)) {
-               pr_info("Too long message, remained=%u", remained_mb(mb));
+               pr_info("Too long message, remained=%zu", remained_mb(mb));
                destroy_us_inst_data(&app_head);
                return -EINVAL;
        }
@@ -194,7 +194,7 @@ int msg_swap_inst_add(struct msg_buf *mb)
                return -EINVAL;
 
        if (!is_end_mb(mb)) {
-               pr_info("Too long message, remained=%u", remained_mb(mb));
+               pr_info("Too long message, remained=%zu", remained_mb(mb));
                destroy_us_inst_data(&app_head);
                return -EINVAL;
        }
@@ -217,7 +217,7 @@ int msg_swap_inst_remove(struct msg_buf *mb)
                return -EINVAL;
 
        if (!is_end_mb(mb)) {
-               pr_info("Too long message, remained=%u", remained_mb(mb));
+               pr_info("Too long message, remained=%zu", remained_mb(mb));
                destroy_us_inst_data(&app_head);
                return -EINVAL;
        }