For consistency with other similar constructs in ubase

This commit is contained in:
sin 2014-04-18 09:39:19 +01:00
parent 8d92201170
commit ba764589ba
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ setsysctl(char *variable, char *value)
return -1;
n = write(fd, value, strlen(value));
if (n != (ssize_t)strlen(value)) {
if ((size_t)n != strlen(value)) {
close(fd);
return -1;
}