From: Theodore A. Roth Date: Tue, 15 Apr 2014 15:46:26 +0000 (-0600) Subject: Quell compiler warning. X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=75be8af5477810871bdc2d03dff1f00d33309b11;hp=75be8af5477810871bdc2d03dff1f00d33309b11;p=fw%2Fstlink 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. ---