From 6ffcfe4f585efcc27499257110abd51d5e52302d Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 1 Jan 2016 22:38:50 +0100 Subject: typo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/satd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/satd.c b/src/satd.c index 6845fff..69861e9 100644 --- a/src/satd.c +++ b/src/satd.c @@ -63,7 +63,7 @@ create_lock(void) /* Store PID in the file. */ /* Yes it is coming similar to a PID file, but this works if the started with -f. */ - t (pwrite(fd, &pid, sizeof(pid), (off_t)0) < (size_t)sizeof(pid)); + t (pwrite(fd, &pid, sizeof(pid), (off_t)0) < (ssize_t)sizeof(pid)); goto done; fail: -- cgit v1.2.3-70-g09d2