Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libpuffs correct previous cast.
details: https://anonhg.NetBSD.org/src/rev/c7e349266a86
branches: trunk
changeset: 833679:c7e349266a86
user: christos <christos%NetBSD.org@localhost>
date: Sun Jul 08 16:48:47 2018 +0000
description:
correct previous cast.
diffstat:
lib/libpuffs/callcontext.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 5a7cc1f8abe4 -r c7e349266a86 lib/libpuffs/callcontext.c
--- a/lib/libpuffs/callcontext.c Sun Jul 08 16:39:27 2018 +0000
+++ b/lib/libpuffs/callcontext.c Sun Jul 08 16:48:47 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: callcontext.c,v 1.28 2018/07/08 16:39:27 christos Exp $ */
+/* $NetBSD: callcontext.c,v 1.29 2018/07/08 16:48:47 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.28 2018/07/08 16:39:27 christos Exp $");
+__RCSID("$NetBSD: callcontext.c,v 1.29 2018/07/08 16:48:47 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, (off_t)0);
+ (int)(MAP_ANON|MAP_PRIVATE|MAP_ALIGNED(pu->pu_cc_stackshift)), -1, 0);
if (sp == MAP_FAILED)
return NULL;
Home |
Main Index |
Thread Index |
Old Index