diff options
author | Jason Gauci <jgmath2000@gmail.com> | 2014-07-29 16:59:21 (GMT) |
---|---|---|
committer | Jason Gauci <jgmath2000@gmail.com> | 2014-07-29 16:59:21 (GMT) |
commit | 543c6ce9ef4edec7e5fe98ef0e429dc4c941438d (patch) | |
tree | aad5d9dcd7200561a30ea4396193dda5927b0aa1 /src | |
parent | 213aec804fb7803a798fb38d508679fe79645cd4 (diff) | |
download | mxe-543c6ce9ef4edec7e5fe98ef0e429dc4c941438d.zip mxe-543c6ce9ef4edec7e5fe98ef0e429dc4c941438d.tar.gz mxe-543c6ce9ef4edec7e5fe98ef0e429dc4c941438d.tar.bz2 |
Fix return value in reimp.c
Modern clang does not like return; when an int is expected.
Diffstat (limited to 'src')
-rw-r--r-- | src/mingw-utils-1-portability-fix.patch | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mingw-utils-1-portability-fix.patch b/src/mingw-utils-1-portability-fix.patch index 40daabb..42237cb 100644 --- a/src/mingw-utils-1-portability-fix.patch +++ b/src/mingw-utils-1-portability-fix.patch @@ -53,6 +53,15 @@ diff -r 62cf992c82c9 reimp/reimp.c { struct ar_hdr ar_hdr; struct imp_hdr imp_hdr; +@@ -410,7 +410,7 @@ + extract_member (get_ar_name (&ar_hdr), + strtol (ar_hdr.ar_size, NULL, 10), f); + } +- return; ++ return 0; + } + + sym = buf = xmalloc (imp_hdr.size); diff -r 62cf992c82c9 reimp/reimp.h --- a/reimp/reimp.h Fri Nov 26 19:02:28 2010 +0100 +++ b/reimp/reimp.h Fri Nov 26 19:14:59 2010 +0100 |