diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2003-03-13 02:38:23 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2003-03-13 02:38:23 +0000 |
commit | 1a7912bfc282e377b57fb127542015dd3d040e2e (patch) | |
tree | 764e4871df506eb30d155915cc16e56dd23c58b8 /bin | |
parent | 4a9c48f19c1a40290be0e2eba1e603e696812ec9 (diff) |
Cast 3 to size_t to shut up stupid gcc on 64bit platforms.
Diffstat (limited to 'bin')
-rw-r--r-- | bin/md5/md5.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/md5/md5.c b/bin/md5/md5.c index 49aaef57a44..9e12e1b29d1 100644 --- a/bin/md5/md5.c +++ b/bin/md5/md5.c @@ -1,4 +1,4 @@ -/* $OpenBSD: md5.c,v 1.17 2003/03/12 21:29:48 millert Exp $ */ +/* $OpenBSD: md5.c,v 1.18 2003/03/13 02:38:22 millert Exp $ */ /* * Copyright (c) 2001,2003 Todd C. Miller <Todd.Miller@courtesan.com> @@ -268,7 +268,7 @@ digest_filelist(char *file) filename = p + 2; p = strchr(filename, ')'); - if (p == NULL || strncmp(p + 1, " = ", 3) != 0) + if (p == NULL || strncmp(p + 1, " = ", (size_t)3) != 0) continue; *p = '\0'; |