X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcfg%2Fkfile_debug.c;h=40233a025527edf26dc575230b8bdbedd9cadae7;hb=d7a12b736e49a6df0ed3d045719eac8bc0e43b10;hp=e358c485ab6ce830d19337e22384d5c34b6f9c5a;hpb=74c7bb68260444eee2831f758b1a9296d6d4ac4e;p=bertos.git diff --git a/bertos/cfg/kfile_debug.c b/bertos/cfg/kfile_debug.c index e358c485..40233a02 100644 --- a/bertos/cfg/kfile_debug.c +++ b/bertos/cfg/kfile_debug.c @@ -37,7 +37,7 @@ #include "kfile_debug.h" -#include +#include #include @@ -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; }