summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--udevhelper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udevhelper.c b/udevhelper.c
index 3c4bc45..0c1402e 100644
--- a/udevhelper.c
+++ b/udevhelper.c
@@ -74,7 +74,7 @@ int main(int argc, char *argv[])
return EX_OSERR;
}
- if (l != strlen(cmd)) {
+ if ((size_t)l != strlen(cmd)) {
fprintf(stderr, "not all data sent\n");
return EX_OSERR;
}