diff options
author | David Malone <dwmalone@FreeBSD.org> | 2002-09-04 21:22:49 +0000 |
---|---|---|
committer | David Malone <dwmalone@FreeBSD.org> | 2002-09-04 21:22:49 +0000 |
commit | b07316882941c58b436780ace834f24f22409766 (patch) | |
tree | 94878fd7af28b7102534e65292cb3936f2b91cf4 /usr.bin | |
parent | 2698bbe2da8b032a3b3a5d58f9955fcae36df633 (diff) | |
download | src-b07316882941c58b436780ace834f24f22409766.tar.gz src-b07316882941c58b436780ace834f24f22409766.zip |
Avoid a signedness warning by casting chain_index to a size_t.
(Should be OK as chain_index is supposed to be positive).
Notes
Notes:
svn path=/head/; revision=102942
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/colldef/parse.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/colldef/parse.y b/usr.bin/colldef/parse.y index c180f8211f76..e362bb027338 100644 --- a/usr.bin/colldef/parse.y +++ b/usr.bin/colldef/parse.y @@ -151,7 +151,7 @@ order : ORDER order_list { out_file); if (fwrite(__collate_chain_pri_table, sizeof(*__collate_chain_pri_table), chain_index, fp) != - chain_index) + (size_t)chain_index) err(EX_IOERR, "IO error writting chain table to destination file %s", out_file); |