diff options
author | istruewing@chilla.local <> | 2007-04-30 18:49:38 +0200 |
---|---|---|
committer | istruewing@chilla.local <> | 2007-04-30 18:49:38 +0200 |
commit | 581b8504f3235426c3fbc6ea671fe15917b05355 (patch) | |
tree | 7bf9e4313e01d0144b146d2529bbcd3ad6fc7607 /config | |
parent | 1bd2953c024e0c4189c797df1cb06d35515ebd71 (diff) | |
download | mariadb-git-581b8504f3235426c3fbc6ea671fe15917b05355.tar.gz |
WL#2936 - Falcon & MySQL plugin interface: server variables
Avoid compiler warnings
Diffstat (limited to 'config')
-rw-r--r-- | config/ac-macros/misc.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/ac-macros/misc.m4 b/config/ac-macros/misc.m4 index 6e9dfe8231c..a20db96a950 100644 --- a/config/ac-macros/misc.m4 +++ b/config/ac-macros/misc.m4 @@ -479,7 +479,7 @@ AC_MSG_CHECKING(if conversion of longlong to float works) AC_CACHE_VAL(ac_cv_conv_longlong_to_float, [AC_TRY_RUN([#include <stdio.h> typedef long long longlong; -main() +int main() { longlong ll=1; float f; @@ -487,7 +487,7 @@ main() f = (float) ll; fprintf(file,"%g\n",f); fclose(file); - exit (0); + return (0); }], ac_cv_conv_longlong_to_float=`cat conftestval`, ac_cv_conv_longlong_to_float=0, ifelse([$2], , , ac_cv_conv_longlong_to_float=$2))])dnl if test "$ac_cv_conv_longlong_to_float" = "1" -o "$ac_cv_conv_longlong_to_float" = "yes" then |