From 743a0021478e0554e48720ccd7a451f38037da22 Mon Sep 17 00:00:00 2001 From: Xavier Santolaria Date: Fri, 19 Aug 2005 08:28:55 +0000 Subject: missing cast; --- usr.bin/cvs/resp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/cvs/resp.c') 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 * 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 */ -- cgit v1.2.3