opnsense-ports/shells/fish/files/patch-src_wgetopt.h
Franco Fichtner c47e4ef9f2 */*: sync with upstream
Taken from: HardenedBSD
2017-12-12 17:08:31 +01:00

11 lines
368 B
C

--- src/wgetopt.h.orig 2017-12-11 21:47:12 UTC
+++ 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'.