Module Name: src Committed By: pooka Date: Fri Jan 8 10:53:32 UTC 2010
Modified Files: src/usr.sbin/puffs/mount_psshfs: psbuf.c Log Message: Fix compilation with -Wsign-compare. Apparently 5.0 doesn't have -Wsign-compare enabled, which explains a thing or two ... pointed out by gson To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/usr.sbin/puffs/mount_psshfs/psbuf.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.sbin/puffs/mount_psshfs/psbuf.c diff -u src/usr.sbin/puffs/mount_psshfs/psbuf.c:1.17 src/usr.sbin/puffs/mount_psshfs/psbuf.c:1.18 --- src/usr.sbin/puffs/mount_psshfs/psbuf.c:1.17 Thu Jan 7 21:19:45 2010 +++ src/usr.sbin/puffs/mount_psshfs/psbuf.c Fri Jan 8 10:53:31 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: psbuf.c,v 1.17 2010/01/07 21:19:45 pooka Exp $ */ +/* $NetBSD: psbuf.c,v 1.18 2010/01/08 10:53:31 pooka Exp $ */ /* * Copyright (c) 2006-2009 Antti Kantee. All Rights Reserved. @@ -27,7 +27,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: psbuf.c,v 1.17 2010/01/07 21:19:45 pooka Exp $"); +__RCSID("$NetBSD: psbuf.c,v 1.18 2010/01/08 10:53:31 pooka Exp $"); #endif /* !lint */ /* @@ -260,7 +260,7 @@ const struct psshfs_ctx *pctx) { uint32_t flags; - int32_t theuid = -1, thegid = -1; + uint32_t theuid = -1, thegid = -1; flags = 0; if (va->va_size != (uint64_t)PUFFS_VNOVAL)