From b708b0cbae2dc58ef30943ade3d56c464b49a59c Mon Sep 17 00:00:00 2001 From: batt Date: Fri, 2 Jul 2010 09:36:15 +0000 Subject: [PATCH] Silence warning. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3984 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cfg/kfile_debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bertos/cfg/kfile_debug.c b/bertos/cfg/kfile_debug.c index e358c485..0a71af68 100644 --- a/bertos/cfg/kfile_debug.c +++ b/bertos/cfg/kfile_debug.c @@ -46,7 +46,7 @@ static size_t kfiledebug_write(struct KFile *_fd, const void *buf, size_t size) { KFILEDEBUG_CAST(_fd); - kprintf("%.*s", size, (const char *)buf); + kprintf("%.*s", (int)size, (const char *)buf); return size; } -- 2.25.1