jn516x platform: fix compiler warnings to enable -Wall -Werror compilation

This commit is contained in:
Simon Duquennoy 2015-10-20 09:45:00 +02:00
parent 48ae0d2ba0
commit c13274c550
7 changed files with 14 additions and 11 deletions

View file

@ -227,7 +227,7 @@ int
puts(const char *s)
{
char c;
while(c = *s++) {
while((c = *s++) != '\0') {
putchar(c);
}
putchar('\n');