summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/sv.c b/sv.c
index 2257516fae..1b15240da4 100644
--- a/sv.c
+++ b/sv.c
@@ -4925,7 +4925,11 @@ Perl_sv_vcatpvfn(pTHX_ SV *sv, const char *pat, STRLEN patlen, va_list *args, SV
goto integer;
case 'D':
+#ifdef IV_IS_QUAD
+ /* nothing */
+#else
intsize = 'l';
+#endif
/* FALL THROUGH */
case 'd':
case 'i':
@@ -4973,7 +4977,11 @@ Perl_sv_vcatpvfn(pTHX_ SV *sv, const char *pat, STRLEN patlen, va_list *args, SV
goto integer;
case 'U':
+#ifdef IV_IS_QUAD
+ /* nothing */
+#else
intsize = 'l';
+#endif
/* FALL THROUGH */
case 'u':
base = 10;
@@ -4984,7 +4992,11 @@ Perl_sv_vcatpvfn(pTHX_ SV *sv, const char *pat, STRLEN patlen, va_list *args, SV
goto uns_integer;
case 'O':
+#ifdef IV_IS_QUAD
+ /* nothing */
+#else
intsize = 'l';
+#endif
/* FALL THROUGH */
case 'o':
base = 8;