From: Peter Johnson Date: Mon, 3 Apr 2006 04:37:23 +0000 (-0000) Subject: * cv-symline.c (cv_sym_bc_tobytes): Silence signedness warning. X-Git-Tag: v0.5.0rc2~2^2~18 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dbcd05cc956e897041226041c1ae3e8c4efe9b58;p=yasm * cv-symline.c (cv_sym_bc_tobytes): Silence signedness warning. svn path=/trunk/yasm/; revision=1451 --- diff --git a/modules/dbgfmts/codeview/cv-symline.c b/modules/dbgfmts/codeview/cv-symline.c index 3257046c..e1ddea65 100644 --- a/modules/dbgfmts/codeview/cv-symline.c +++ b/modules/dbgfmts/codeview/cv-symline.c @@ -1058,8 +1058,9 @@ cv_sym_bc_tobytes(yasm_bytecode *bc, unsigned char **bufp, void *d, buf += 4; break; case 'Y': - cv_out_sym((yasm_symrec *)cvs->args[arg++].p, buf-(*bufp), bc, - &buf, d, output_value); + cv_out_sym((yasm_symrec *)cvs->args[arg++].p, + (unsigned long)(buf-(*bufp)), bc, &buf, d, + output_value); break; case 'T': yasm_intnum_set_uint(cval, cvs->args[arg++].i);