summaryrefslogtreecommitdiff
path: root/ext/bigdecimal/bigdecimal.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bigdecimal/bigdecimal.c')
-rw-r--r--ext/bigdecimal/bigdecimal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bigdecimal/bigdecimal.c b/ext/bigdecimal/bigdecimal.c
index a251a8e9dec..0d25a60337d 100644
--- a/ext/bigdecimal/bigdecimal.c
+++ b/ext/bigdecimal/bigdecimal.c
@@ -3880,7 +3880,7 @@ VPrint(FILE *fp, const char *cntl_chr, Real *a)
m /= 10;
}
}
- nc += fprintf(fp, "E%"PRIdVALUE, VpExponent10(a));
+ nc += fprintf(fp, "E%"PRIdSIZE, VpExponent10(a));
} else {
nc += fprintf(fp, "0.0");
}
@@ -4077,7 +4077,7 @@ VpToString(Real *a, char *psz, size_t fFmt, int fPlus)
shift /= 10;
}
while(psz[-1]=='0') *(--psz) = 0;
- sprintf(psz, "E%"PRIdVALUE, ex);
+ sprintf(psz, "E%"PRIdSIZE, ex);
if(fFmt) VpFormatSt(pszSav, fFmt);
}