commit ba764589ba367fb481310d0e23ef985a2f834051 Author: sin <[email protected]> Date: Fri Apr 18 09:39:19 2014 +0100
For consistency with other similar constructs in ubase
diff --git a/sysctl.c b/sysctl.c
index e4e75ec..a43a333 100644
--- a/sysctl.c
+++ b/sysctl.c
@@ -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;
}
