From 8fb6d5db3b8f69416ff4c71769a6e4775c3d7848 Mon Sep 17 00:00:00 2001 From: Alan Somers Date: Tue, 12 Dec 2017 23:45:17 -0700 Subject: [PATCH] Fix the build on FreeBSD ARM and ARM64 (#4593) Downstream bug: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224254 Fixes #4589 --- src/wgetopt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wgetopt.h b/src/wgetopt.h index 90b0ba895..45fe80f59 100644 --- a/src/wgetopt.h +++ b/src/wgetopt.h @@ -177,7 +177,7 @@ struct woption { int *flag; /// If \c flag is non-null, this is the value that flag will be set to. Otherwise, this is the /// return-value of the function call. - int val; + wchar_t val; }; // Names for the values of the `has_arg' field of `struct option'.