projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Silence warning.
[bertos.git]
/
bertos
/
cfg
/
kfile_debug.c
diff --git
a/bertos/cfg/kfile_debug.c
b/bertos/cfg/kfile_debug.c
index e358c485ab6ce830d19337e22384d5c34b6f9c5a..0a71af68a2d60d2f1c3d3abfc868c17054d958b4 100644
(file)
--- 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;
}