summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2015-02-07 04:57:23 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2015-02-07 04:57:23 +0000
commite62512201948fafc5cbe595babc732e8f0b0244d (patch)
treebcf42c14f0c70a232bd0620cf0715ba0bcbbcb95 /lib
parent99924ada9334bcc704af09f37d9ff5b06a4d866b (diff)
argc is passed as a long by the kernel, define it as such to match what
other ports do.
Diffstat (limited to 'lib')
-rw-r--r--lib/csu/mips64/md_init.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/csu/mips64/md_init.h b/lib/csu/mips64/md_init.h
index 51adb989adc..8e97febe614 100644
--- a/lib/csu/mips64/md_init.h
+++ b/lib/csu/mips64/md_init.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: md_init.h,v 1.9 2015/01/01 19:43:10 miod Exp $ */
+/* $OpenBSD: md_init.h,v 1.10 2015/02/07 04:57:22 miod Exp $ */
/*-
* Copyright (c) 2001 Ross Harvey
@@ -160,7 +160,7 @@ struct kframe {
#define MD_START_ARGS struct kframe *kfp, void (*cleanup)(void)
#define MD_START_SETUP \
char **argv, **envp; \
- int argc; \
+ long argc; \
\
argc = kfp->kargc; \
argv = &kfp->kargv[0]; \