diff options
author | Pavel Roskin <plroskin@gmail.com> | 2017-01-17 09:05:45 -0800 |
---|---|---|
committer | jsorg71 <jay.sorg@gmail.com> | 2017-02-02 21:33:05 -0800 |
commit | d8d6b08aa349b3b5773a90d6049e149128ec7f8e (patch) | |
tree | 0d015bdc3424fd2cade56e5c204082cb2e415ddb /m4 | |
parent | 130fa128459eebd4b3d398d0283d199f5a166b14 (diff) | |
download | xrdp-proprietary-d8d6b08aa349b3b5773a90d6049e149128ec7f8e.tar.gz xrdp-proprietary-d8d6b08aa349b3b5773a90d6049e149128ec7f8e.zip |
Update m4/ax_type_socklen_t.m4, it works with -Wall now
Diffstat (limited to 'm4')
-rw-r--r-- | m4/ax_type_socklen_t.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/ax_type_socklen_t.m4 b/m4/ax_type_socklen_t.m4 index 834c4cfa..593e669a 100644 --- a/m4/ax_type_socklen_t.m4 +++ b/m4/ax_type_socklen_t.m4 @@ -42,7 +42,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 5 +#serial 6 AU_ALIAS([TYPE_SOCKLEN_T], [AX_TYPE_SOCKLEN_T]) AC_DEFUN([AX_TYPE_SOCKLEN_T], @@ -51,7 +51,7 @@ AC_DEFUN([AX_TYPE_SOCKLEN_T], AC_TRY_COMPILE( [#include <sys/types.h> #include <sys/socket.h>], - [socklen_t len = 42; return 0;], + [socklen_t len = (socklen_t) 42; return (!len);], ac_cv_ax_type_socklen_t=yes, ac_cv_ax_type_socklen_t=no) ]) |