summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2015-02-07 04:57:22 +0000
committermiod <miod@openbsd.org>2015-02-07 04:57:22 +0000
commite7ea37079d534964033e2751ba3c4c3aadaf18c6 (patch)
treeee6ba93003d0fb68211ab9babfc6de668bf41534
parentOnly call free in CBB_init(). (diff)
downloadwireguard-openbsd-e7ea37079d534964033e2751ba3c4c3aadaf18c6.tar.xz
wireguard-openbsd-e7ea37079d534964033e2751ba3c4c3aadaf18c6.zip
argc is passed as a long by the kernel, define it as such to match what
other ports do.
-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]; \