From: Peter Johnson Date: Tue, 4 Apr 2006 06:02:18 +0000 (-0000) Subject: * bytecode.pxi: Fix definition of yasm_dv_create_string(). X-Git-Tag: v0.5.0rc2~2^2~14 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2e851878e49c8e40b952c8b32e88aaaa4c3eb022;p=yasm * bytecode.pxi: Fix definition of yasm_dv_create_string(). svn path=/trunk/yasm/; revision=1455 --- diff --git a/tools/python-yasm/bytecode.pxi b/tools/python-yasm/bytecode.pxi index 3b781d58..9f301664 100644 --- a/tools/python-yasm/bytecode.pxi +++ b/tools/python-yasm/bytecode.pxi @@ -78,7 +78,7 @@ cdef extern from "libyasm/bytecode.h": yasm_output_reloc_func output_reloc) cdef yasm_dataval* yasm_dv_create_expr(yasm_expr *expn) - cdef yasm_dataval* yasm_dv_create_string(char *contents, unsigned long len) + cdef yasm_dataval* yasm_dv_create_string(char *contents, size_t len) cdef void yasm_dvs_initialize(yasm_datavalhead *headp) cdef void yasm_dvs_destroy(yasm_datavalhead *headp)