diff options
Diffstat (limited to 'lib/header.c')
-rw-r--r-- | lib/header.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/header.c b/lib/header.c index 2f3d7a0c2..fa38c89f9 100644 --- a/lib/header.c +++ b/lib/header.c @@ -1631,7 +1631,7 @@ int headerPutString(Header h, rpmTag tag, const char *val) const void *sptr = NULL; /* string arrays expect char **, arrange that */ - if (type == RPM_STRING_ARRAY_TYPE) { + if (type == RPM_STRING_ARRAY_TYPE || type == RPM_I18NSTRING_TYPE) { sptr = &val; } else if (type == RPM_STRING_TYPE) { sptr = val; |