Source-Changes-HG archive

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

[src/trunk]: src/sys/rump/net/lib/libshmif make constant unsigned



details:   https://anonhg.NetBSD.org/src/rev/f72585596dbb
branches:  trunk
changeset: 1008783:f72585596dbb
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Apr 03 13:57:48 2020 +0000

description:
make constant unsigned

diffstat:

 sys/rump/net/lib/libshmif/shmifvar.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 9abe299abdb4 -r f72585596dbb sys/rump/net/lib/libshmif/shmifvar.h
--- a/sys/rump/net/lib/libshmif/shmifvar.h      Fri Apr 03 06:13:07 2020 +0000
+++ b/sys/rump/net/lib/libshmif/shmifvar.h      Fri Apr 03 13:57:48 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: shmifvar.h,v 1.10 2014/09/17 04:20:58 ozaki-r Exp $    */
+/*     $NetBSD: shmifvar.h,v 1.11 2020/04/03 13:57:48 christos Exp $   */
 
 /*-
  * Copyright (c) 2009, 2010 Antti Kantee.  All Rights Reserved.
@@ -60,7 +60,7 @@
        uint64_t sp_sender;
 };
 
-#define BUSMEM_SIZE (1024*1024)
+#define BUSMEM_SIZE (1024*1024U)
 #define BUSMEM_DATASIZE (BUSMEM_SIZE - sizeof(struct shmif_mem))
 
 #if 0



Home | Main Index | Thread Index | Old Index