diff options
author | João Valverde <j@v6e.pt> | 2021-12-17 20:05:19 +0000 |
---|---|---|
committer | João Valverde <j@v6e.pt> | 2021-12-19 20:06:13 +0000 |
commit | fe5248717faa1c99a4d0c761fa8da63afffc5d3f (patch) | |
tree | 80dfeee421091a44c88f80b7a65edc0590e4b4e5 /ui/summary.c | |
parent | c5a19582e4e18605e8528cd999221444f7ece318 (diff) |
Replace g_snprintf() with snprintf()
Use macros from inttypes.h with format strings.
Diffstat (limited to 'ui/summary.c')
-rw-r--r-- | ui/summary.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/summary.c b/ui/summary.c index fe0174ba9c..fedaefea86 100644 --- a/ui/summary.c +++ b/ui/summary.c @@ -99,7 +99,7 @@ hash_to_str(const unsigned char *hash, size_t length, char *str) { int i; for (i = 0; i < (int) length; i++) { - g_snprintf(str+(i*2), 3, "%02x", hash[i]); + snprintf(str+(i*2), 3, "%02x", hash[i]); } } |