From 267862622b699c85a223f6d1170a24080fbf93c3 Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Tue, 6 Feb 2007 07:41:55 +0000 Subject: [PATCH] nasm-listfmt.c: Fix warning due to [1752] multiple -> signed change. svn path=/trunk/yasm/; revision=1755 --- modules/listfmts/nasm/nasm-listfmt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/listfmts/nasm/nasm-listfmt.c b/modules/listfmts/nasm/nasm-listfmt.c index 3a8bd962..c1272303 100644 --- a/modules/listfmts/nasm/nasm-listfmt.c +++ b/modules/listfmts/nasm/nasm-listfmt.c @@ -206,7 +206,7 @@ nasm_listfmt_output(yasm_listfmt *listfmt, FILE *f, yasm_linemap *linemap, while (bc && bc->line == line) { /*@null@*/ /*@only@*/ unsigned char *bigbuf; unsigned long size = REGULAR_BUF_SIZE; - unsigned long multiple; + long multiple; unsigned long offset = bc->offset; unsigned char *origp, *p; int gap; @@ -217,7 +217,7 @@ nasm_listfmt_output(yasm_listfmt *listfmt, FILE *f, yasm_linemap *linemap, bigbuf = yasm_bc_tobytes(bc, buf, &size, &gap, &info, nasm_listfmt_output_value, NULL); yasm_bc_get_multiple(bc, &multiple, 1); - if (multiple == 0) + if (multiple <= 0) size = 0; else size /= multiple; -- 2.40.0