]> granicus.if.org Git - yasm/commitdiff
* value.c (yasm_value_output_basic): The destsize parameter accidentally got
authorPeter Johnson <peter@tortall.net>
Fri, 12 May 2006 02:00:04 +0000 (02:00 -0000)
committerPeter Johnson <peter@tortall.net>
Fri, 12 May 2006 02:00:04 +0000 (02:00 -0000)
out of sync with the header file (should be size_t).

svn path=/trunk/yasm/; revision=1539

libyasm/value.c

index 5f02f5b441430dfd3aaca3669ec9110864094e83..1a0c8b61adb44333dbd7f7ba95743735c2473598 100644 (file)
@@ -427,7 +427,7 @@ yasm_value_finalize(yasm_value *value)
 
 int
 yasm_value_output_basic(yasm_value *value, /*@out@*/ unsigned char *buf,
-                       unsigned int destsize, yasm_bytecode *bc, int warn,
+                       size_t destsize, yasm_bytecode *bc, int warn,
                        yasm_arch *arch, yasm_calc_bc_dist_func calc_bc_dist)
 {
     /*@dependent@*/ /*@null@*/ yasm_intnum *intn = NULL;