summaryrefslogtreecommitdiff
path: root/tests/conformance_upb.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/conformance_upb.c')
-rw-r--r--tests/conformance_upb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/conformance_upb.c b/tests/conformance_upb.c
index 2ef8c6d..70ea300 100644
--- a/tests/conformance_upb.c
+++ b/tests/conformance_upb.c
@@ -33,7 +33,7 @@ bool CheckedRead(int fd, void *buf, size_t len) {
}
void CheckedWrite(int fd, const void *buf, size_t len) {
- if (write(fd, buf, len) != len) {
+ if ((size_t)write(fd, buf, len) != len) {
perror("writing to test runner");
exit(1);
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback