Commit Diff


commit - b1a117cd98bad64ac56f06f854d4b00f488e44ea
commit + e2ba7e08b4a4ca73a74c10e7189b46f6d8dcfc75
blob - b8e8013d31c2671143babc96724912d40ab9a769
blob + 427789c3fbbaf291aa026753aa4d86bcc76c1f66
--- src/ngircd/sighandlers.c
+++ src/ngircd/sighandlers.c
@@ -236,7 +236,7 @@ Signal_Callback(int fd, short UNUSED what)
 	(void) what;
 
 	do {
-		ret = read(fd, &sig, sizeof(sig));
+		ret = (int)read(fd, &sig, sizeof(sig));
 		if (ret == sizeof(int))
 			Signal_Handler_BH(sig);
 	} while (ret == sizeof(int));