header.h: shut up -Wextra warning
header.h: In function 'headerFreeData': header.h:705:11: error: comparison between signed and unsigned integer expressions
This commit is contained in:
parent
42db4e0a9d
commit
cf36274cb9
@ -702,7 +702,7 @@ void * headerFreeData( /*@only@*/ /*@null@*/ const void * data, rpmTagType type)
|
||||
{
|
||||
if (data) {
|
||||
/*@-branchstate@*/
|
||||
if (type == -1 ||
|
||||
if (type == (rpmTagType) -1 ||
|
||||
type == RPM_STRING_ARRAY_TYPE ||
|
||||
type == RPM_I18NSTRING_TYPE ||
|
||||
type == RPM_BIN_TYPE)
|
||||
|
Loading…
Reference in New Issue
Block a user