Explorar o código

add missing atoi for cosmetic reasons

Nick Mathewson %!s(int64=8) %!d(string=hai) anos
pai
achega
ae7e2b9a7c
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      configure.ac

+ 2 - 2
configure.ac

@@ -812,7 +812,7 @@ if test "$have_clang" = "yes"; then
 	  int main(int argc, char **argv)
 	  int main(int argc, char **argv)
 	  {
 	  {
             int64_t x = ((int64_t)atoi(argv[1])) * (int64_t)atoi(argv[2])
             int64_t x = ((int64_t)atoi(argv[1])) * (int64_t)atoi(argv[2])
-	                * (int64_t)argv[3];
+	                * (int64_t)atoi(argv[3]);
 	    return x == 9;
 	    return x == 9;
 	  } ]])],
 	  } ]])],
 	  [ftrapv_can_link=yes; AC_MSG_RESULT([yes])],
 	  [ftrapv_can_link=yes; AC_MSG_RESULT([yes])],
@@ -831,7 +831,7 @@ if test "$have_clang" = "yes"; then
 	  int main(int argc, char **argv)
 	  int main(int argc, char **argv)
 	  {
 	  {
             int64_t x = ((int64_t)atoi(argv[1])) * (int64_t)atoi(argv[2])
             int64_t x = ((int64_t)atoi(argv[1])) * (int64_t)atoi(argv[2])
-	                * (int64_t)argv[3];
+	                * (int64_t)atoi(argv[3]);
 	    return x == 9;
 	    return x == 9;
 	  } ]])],
 	  } ]])],
 	  [mulodi_fixes_ftrapv=yes; AC_MSG_RESULT([yes])],
 	  [mulodi_fixes_ftrapv=yes; AC_MSG_RESULT([yes])],