Browse Source

add missing atoi for cosmetic reasons

Nick Mathewson 8 years ago
parent
commit
ae7e2b9a7c
1 changed files with 2 additions and 2 deletions
  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)
 	  {
             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;
 	  } ]])],
 	  [ftrapv_can_link=yes; AC_MSG_RESULT([yes])],
@@ -831,7 +831,7 @@ if test "$have_clang" = "yes"; then
 	  int main(int argc, char **argv)
 	  {
             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;
 	  } ]])],
 	  [mulodi_fixes_ftrapv=yes; AC_MSG_RESULT([yes])],