]> granicus.if.org Git - yasm/commitdiff
* cv-symline.c (cv_sym_bc_tobytes): Silence signedness warning.
authorPeter Johnson <peter@tortall.net>
Mon, 3 Apr 2006 04:37:23 +0000 (04:37 -0000)
committerPeter Johnson <peter@tortall.net>
Mon, 3 Apr 2006 04:37:23 +0000 (04:37 -0000)
svn path=/trunk/yasm/; revision=1451

modules/dbgfmts/codeview/cv-symline.c

index 3257046c25cc0934726ffd4b720932e019089cc9..e1ddea650f935245525f27c726830e2fc4af4634 100644 (file)
@@ -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);