diff options
author | Xavier Santolaria <xsa@cvs.openbsd.org> | 2005-08-19 08:28:55 +0000 |
---|---|---|
committer | Xavier Santolaria <xsa@cvs.openbsd.org> | 2005-08-19 08:28:55 +0000 |
commit | 743a0021478e0554e48720ccd7a451f38037da22 (patch) | |
tree | 7fe3c3f5418e03ba70632a6d24126e3ab8fa503d /usr.bin/cvs/resp.c | |
parent | fb9bafaf2496598a66e74525a6e15beef7b5c8b1 (diff) |
missing cast;
Diffstat (limited to 'usr.bin/cvs/resp.c')
-rw-r--r-- | usr.bin/cvs/resp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/resp.c b/usr.bin/cvs/resp.c index b0fe0218917..686abd9030f 100644 --- a/usr.bin/cvs/resp.c +++ b/usr.bin/cvs/resp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: resp.c,v 1.56 2005/08/17 16:43:39 xsa Exp $ */ +/* $OpenBSD: resp.c,v 1.57 2005/08/19 08:28:54 xsa Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -269,7 +269,7 @@ cvs_resp_m(struct cvsroot *root, int type, char *line) } else { if (strcmp(line, "newline") == 0) putc('\n', stdout); - else if (strncmp(line, "fname ", 6) == 0) + else if (strncmp(line, "fname ", (size_t)6) == 0) printf("%s", line + 6); else { /* assume text */ |