Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/perfused Fix warning
details: https://anonhg.NetBSD.org/src/rev/c9e1d8178d59
branches: trunk
changeset: 768114:c9e1d8178d59
user: manu <manu%NetBSD.org@localhost>
date: Tue Aug 09 07:00:13 2011 +0000
description:
Fix warning
diffstat:
usr.sbin/perfused/msg.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 89f581998b59 -r c9e1d8178d59 usr.sbin/perfused/msg.c
--- a/usr.sbin/perfused/msg.c Tue Aug 09 06:58:33 2011 +0000
+++ b/usr.sbin/perfused/msg.c Tue Aug 09 07:00:13 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: msg.c,v 1.14 2011/08/02 14:53:38 manu Exp $ */
+/* $NetBSD: msg.c,v 1.15 2011/08/09 07:00:13 manu Exp $ */
/*-
* Copyright (c) 2010 Emmanuel Dreyfus. All rights reserved.
@@ -539,7 +539,7 @@
len = foh.len;
#ifdef PERFUSE_DEBUG
- if (len > FUSE_BUFSIZE)
+ if (len > (size_t)FUSE_BUFSIZE)
DERRX(EX_SOFTWARE, "%s: foh.len = %zu", __func__, len);
#endif
Home |
Main Index |
Thread Index |
Old Index