summaryrefslogtreecommitdiff
path: root/math/mprime/files/patch-commonc.c
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2018-11-23 13:04:12 +0000
committerSteve Wills <swills@FreeBSD.org>2018-11-23 13:04:12 +0000
commita65eeaebadf9272f600be8394f1466c324029d6b (patch)
tree0b39b0850c7dd05159c5766aa6c346f0b05e06b4 /math/mprime/files/patch-commonc.c
parentnet-mgmt/icingaweb2: Update to 2.6.2 (diff)
math/mprime: update to 29.4b7
PR: 233261 Submitted by: rozhuk.im@gmail.com (maintainer)
Diffstat (limited to 'math/mprime/files/patch-commonc.c')
-rw-r--r--math/mprime/files/patch-commonc.c2
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';