Skip to content
Snippets Groups Projects
Commit a39600d0b52c authored by jfp's avatar jfp
Browse files

Fix when flags are used with bytes item

parent 45242ed2a75c
Branches
No related tags found
No related merge requests found
......@@ -210,7 +210,7 @@
elif isinstance(itm.value, bytes):
pile3.ile3_w_length = itm.length
pile3.ile3_ps_bufaddr = <char *>itm.value
pile3.ile3_ps_retlen_addr = NULL
pile3.ile3_ps_retlen_addr = <unsigned short *>(<long>itm.flags)
elif PySequence_Check(itm.value):
pile3.ile3_w_length = itm.length
pile3.ile3_ps_bufaddr = pdata
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment