Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/include Cast large constant to int.



details:   https://anonhg.NetBSD.org/src/rev/7db24b9de627
branches:  trunk
changeset: 583038:7db24b9de627
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Jul 16 17:20:12 2005 +0000

description:
Cast large constant to int.

diffstat:

 include/kvm.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 3102fb6a6038 -r 7db24b9de627 include/kvm.h
--- a/include/kvm.h     Sat Jul 16 17:15:46 2005 +0000
+++ b/include/kvm.h     Sat Jul 16 17:20:12 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kvm.h,v 1.13 2005/02/03 04:39:32 perry Exp $   */
+/*     $NetBSD: kvm.h,v 1.14 2005/07/16 17:20:12 christos Exp $        */
 
 /*-
  * Copyright (c) 1989, 1993
@@ -43,7 +43,7 @@
  * by programs that use only sysctl() function to access kernel
  * information.
  */
-#define KVM_NO_FILES   0x80000000
+#define KVM_NO_FILES   ((int)0x80000000)
 
 #include <nlist.h>
 #include <sys/cdefs.h>



Home | Main Index | Thread Index | Old Index