diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2016-10-18 18:38:22 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2016-10-18 18:38:22 +0200 |
commit | bc0a75f258d03f12496d7fd9113d81114dcac641 (patch) | |
tree | 102e911ab4af141c67b17ce9790d6e82c8d0ac90 | |
parent | a9581d6300a6790b5b36e145103fb5a6a444449f (diff) | |
download | perl-URPM-bc0a75f258d03f12496d7fd9113d81114dcac641.tar perl-URPM-bc0a75f258d03f12496d7fd9113d81114dcac641.tar.gz perl-URPM-bc0a75f258d03f12496d7fd9113d81114dcac641.tar.bz2 perl-URPM-bc0a75f258d03f12496d7fd9113d81114dcac641.tar.xz perl-URPM-bc0a75f258d03f12496d7fd9113d81114dcac641.zip |
fix another (old) compilation warnings
use rpmTagGetValue() to get the char* name of the tag
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | URPM.xs | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -1,3 +1,5 @@ +- fix some compilation warnings + Version 5.10 - 18 October 2016 - support querying size of 4gb+ packages @@ -589,7 +589,7 @@ return_list_tag(const URPM__Package pkg, rpmTag tag_name) { mXPUSHs(newSVpv(pkg->summary, 0)); break; default: - croak("unexpected tag %s", tag_name); + croak("unexpected tag %s", rpmTagGetName(tag_name)); break; } if (data) { |