X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=string.h;h=52f989417d8071a1f2ed33d99ce7fd8ba18d66c1;hp=aa8292fdf4ec1f076294842e1b6cb02dbc4f23a6;hb=bd33d7a13fa2cb65d37e5bbf5abdbb62e9b10610;hpb=8daabd03bb649ae04d6b2dd9e46640ca1e514d3d diff --git a/string.h b/string.h index aa8292fd..52f98941 100644 --- a/string.h +++ b/string.h @@ -63,7 +63,7 @@ int for_each_line(unsigned flags, char *buf, size_t size, #define WRITE_STATUS_ITEM(b, n, f, ...) (\ { \ if ((b)->flags & PBF_SIZE_PREFIX) { \ - para_printf((b), "%02x:" f, n, ## __VA_ARGS__); \ + para_printf((b), "%02x:" f, (unsigned)n, ## __VA_ARGS__); \ } else { \ para_printf((b), "%s: " f, status_item_list[(n)], \ ## __VA_ARGS__); \