Silence warning.
[bertos.git] / bertos / cfg / kfile_debug.c
index e358c485ab6ce830d19337e22384d5c34b6f9c5a..0a71af68a2d60d2f1c3d3abfc868c17054d958b4 100644 (file)
@@ -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;
 }