Quell compiler warning.
authorTheodore A. Roth <troth@openavr.org>
Tue, 15 Apr 2014 15:46:26 +0000 (09:46 -0600)
committerTheodore A. Roth <troth@openavr.org>
Tue, 15 Apr 2014 15:46:26 +0000 (09:46 -0600)
commit75be8af5477810871bdc2d03dff1f00d33309b11
tree88c75d28057371bd609453e7f8ef592505b7afe5
parent11891439f0b2a5e117de03169e334997f898c4fc
Quell compiler warning.

Building on a 32-bit linux system was generating the following:

  src/st-info.c: In function ‘print_data’:
  src/st-info.c:25:3: warning: format ‘%lx’ expects argument of type \
       ‘long unsigned int’, but argument 2 has type ‘size_t’ [-Wformat]
  src/st-info.c:27:3: warning: format ‘%lx’ expects argument of type \
       ‘long unsigned int’, but argument 2 has type ‘size_t’ [-Wformat]
  src/st-info.c:29:3: warning: format ‘%lx’ expects argument of type \
       ‘long unsigned int’, but argument 2 has type ‘size_t’ [-Wformat]

Using '%zx' eliminates the warning in a platform agnostic way.
src/st-info.c