summaryrefslogtreecommitdiff
path: root/tune
diff options
context:
space:
mode:
authorNiels M?ller <nisse@lysator.liu.se>2019-09-15 08:45:52 +0200
committerNiels M?ller <nisse@lysator.liu.se>2019-09-15 08:45:52 +0200
commit9aacdb2db0b7fcf03d1d2522383b71cd695904dc (patch)
tree36df7a9d656ed239e86d9219a65bdcaf5bf9b3c9 /tune
parent053527715989fad2a417a52421076f2d7bf9b9b6 (diff)
downloadgmp-9aacdb2db0b7fcf03d1d2522383b71cd695904dc.tar.gz
Fix use of TMP_ALLOC in tuneup.c
Diffstat (limited to 'tune')
-rw-r--r--tune/tuneup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tune/tuneup.c b/tune/tuneup.c
index a60c3960f..19948e0e4 100644
--- a/tune/tuneup.c
+++ b/tune/tuneup.c
@@ -724,7 +724,7 @@ one_method (int n, speed_function_t *functions,
TMP_DECL;
TMP_MARK;
- t = TMP_ALLOC (n * sizeof (*t));
+ t = (double*) TMP_ALLOC (n * sizeof (*t));
for (i = 0; i < n; i++)
{