From: batt Date: Fri, 2 Jul 2010 09:36:15 +0000 (+0000) Subject: Silence warning. X-Git-Tag: 2.6.0~323 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=b708b0cbae2dc58ef30943ade3d56c464b49a59c;p=bertos.git Silence warning. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3984 38d2e660-2303-0410-9eaa-f027e97ec537 --- 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; }