Skip to content

Commit 7af2e6f

Browse files
committed
Fix: do not incorrectly consume vararg (by Zbynek Slajchrt).
1 parent 329bbf6 commit 7af2e6f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

graalpython/com.oracle.graal.python.cext/src/unicodeobject.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,8 @@ MUST_INLINE PyObject* PyTruffle_Unicode_FromFormat(const char *fmt, va_list va)
278278
c[1] = 's';
279279
allocated = variable = as_char_pointer(converter(va_arg(va, PyObject*)));
280280
break;
281+
case 'd':
282+
break;
281283
case '%':
282284
// literal %
283285
break;

0 commit comments

Comments
 (0)