Module Name: src
Committed By: he
Date: Thu Mar 22 08:39:44 UTC 2012
Modified Files:
src/sys/arch/arm/include: limits.h
Log Message:
Make sure that the UQUAD_MAX constant is marked as unsigned, to avoid
"ANSI C treats constant as unsigned" warning from lint.
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/arm/include/limits.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/arm/include/limits.h
diff -u src/sys/arch/arm/include/limits.h:1.10 src/sys/arch/arm/include/limits.h:1.11
--- src/sys/arch/arm/include/limits.h:1.10 Mon Jun 7 13:52:30 2010
+++ src/sys/arch/arm/include/limits.h Thu Mar 22 08:39:43 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: limits.h,v 1.10 2010/06/07 13:52:30 tnozaki Exp $ */
+/* $NetBSD: limits.h,v 1.11 2012/03/22 08:39:43 he Exp $ */
/*
* Copyright (c) 1988 The Regents of the University of California.
@@ -71,7 +71,7 @@
#if defined(_NETBSD_SOURCE)
#define SIZE_T_MAX LONG_MAX /* max value for a size_t */
-#define UQUAD_MAX 0xffffffffffffffffLL /* max unsigned quad */
+#define UQUAD_MAX 0xffffffffffffffffULL /* max unsigned quad */
#define QUAD_MAX 0x7fffffffffffffffLL /* max signed quad */
#define QUAD_MIN (-0x7fffffffffffffffLL-1) /* min signed quad */