diff options
Diffstat (limited to 'math/mprime/files/patch-commonc.c')
-rw-r--r-- | math/mprime/files/patch-commonc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/math/mprime/files/patch-commonc.c b/math/mprime/files/patch-commonc.c index 6809e0da133c..483ae5d3b834 100644 --- a/math/mprime/files/patch-commonc.c +++ b/math/mprime/files/patch-commonc.c @@ -12,7 +12,7 @@ if (w->k != 1.0) sprintf (buf+strlen(buf), "%g", fmod (w->k, 1000000.0)); sprintf (buf+strlen(buf), "_%ld", p); - if (abs(w->c) != 1) sprintf (buf+strlen(buf), "_%d", abs(w->c) % 1000); -+ if (labs(w->c) != 1) sprintf (buf+strlen(buf), "_%d", labs(w->c) % 1000); ++ if (labs(w->c) != 1) sprintf (buf+strlen(buf), "_%ld", labs(w->c) % 1000); rename (v258_filename, buf); if (buf[0] == 'p') { v258_filename[0] = buf[0] = 'q'; |