Source-Changes-HG archive

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

[src/trunk]: src/lib/libpuffs cast for lint



details:   https://anonhg.NetBSD.org/src/rev/c2358bab5260
branches:  trunk
changeset: 323911:c2358bab5260
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Jul 08 16:39:27 2018 +0000

description:
cast for lint

diffstat:

 lib/libpuffs/callcontext.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r d8497d8a63c5 -r c2358bab5260 lib/libpuffs/callcontext.c
--- a/lib/libpuffs/callcontext.c        Sun Jul 08 14:46:23 2018 +0000
+++ b/lib/libpuffs/callcontext.c        Sun Jul 08 16:39:27 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: callcontext.c,v 1.27 2011/12/06 21:15:39 skrll Exp $   */
+/*     $NetBSD: callcontext.c,v 1.28 2018/07/08 16:39:27 christos Exp $        */
 
 /*
  * Copyright (c) 2006, 2007, 2008 Antti Kantee.  All Rights Reserved.
@@ -30,7 +30,7 @@
 
 #include <sys/cdefs.h>
 #if !defined(lint)
-__RCSID("$NetBSD: callcontext.c,v 1.27 2011/12/06 21:15:39 skrll Exp $");
+__RCSID("$NetBSD: callcontext.c,v 1.28 2018/07/08 16:39:27 christos Exp $");
 #endif /* !lint */
 
 #include <sys/types.h>
@@ -194,7 +194,7 @@
                return &fakecc;
 
        sp = mmap(NULL, stacksize, PROT_READ|PROT_WRITE,
-           MAP_ANON|MAP_PRIVATE|MAP_ALIGNED(pu->pu_cc_stackshift), -1, 0);
+           MAP_ANON|MAP_PRIVATE|MAP_ALIGNED(pu->pu_cc_stackshift), -1, (off_t)0);
        if (sp == MAP_FAILED)
                return NULL;
 



Home | Main Index | Thread Index | Old Index