]> git.saurik.com Git - bison.git/commit
Use the correct conversion specifier for size_t.
authorJoel E. Denny <jdenny@clemson.edu>
Tue, 29 Sep 2009 10:54:38 +0000 (06:54 -0400)
committerJoel E. Denny <jdenny@clemson.edu>
Tue, 29 Sep 2009 12:31:14 +0000 (08:31 -0400)
commit17a407dc5184b2a0fe70677c911b0d6a1d10ffdd
tree4b0114c1e7c91104de77f31682e0448be5ff9d73
parent4b7a4c1b1c8c18e9ad2517c117442b9b7d7e671a
Use the correct conversion specifier for size_t.

Reported by Jim Meyering.
* src/Sbitset.h (SBITSET__INDEX__CONVERSION_SPEC): New, "zu"
because Sbitset__Index is size_t.
* src/Sbitset.c (Sbitset__fprint): Use it instead of %d.
(cherry picked from commit 47eced3099712180364f4e01b839242027d9a9d8)
ChangeLog
src/Sbitset.c
src/Sbitset.h