summaryrefslogtreecommitdiff
path: root/lib/rpmtd.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-06-17 16:04:12 +0300
committerPanu Matilainen <pmatilai@redhat.com>2008-06-17 16:04:12 +0300
commit2f55856c85d02a81318065dbb1dd06ff92c9004c (patch)
tree3e378186811a0744e1c7bd6eb93554d81d419497 /lib/rpmtd.c
parent05540d121b2555a79877fe013689ce0a6ecea258 (diff)
downloadlibrpm-tizen-2f55856c85d02a81318065dbb1dd06ff92c9004c.tar.gz
librpm-tizen-2f55856c85d02a81318065dbb1dd06ff92c9004c.tar.bz2
librpm-tizen-2f55856c85d02a81318065dbb1dd06ff92c9004c.zip
Make rpmtdFromStringArray() data argument const afterall
- produces somewhat less warnings as is, a bit surprisingly
Diffstat (limited to 'lib/rpmtd.c')
-rw-r--r--lib/rpmtd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rpmtd.c b/lib/rpmtd.c
index e5faa2755..761f03b26 100644
--- a/lib/rpmtd.c
+++ b/lib/rpmtd.c
@@ -326,7 +326,7 @@ int rpmtdFromString(rpmtd td, rpmTag tag, const char *data)
return rc;
}
-int rpmtdFromStringArray(rpmtd td, rpmTag tag, char **data, rpm_count_t count)
+int rpmtdFromStringArray(rpmtd td, rpmTag tag, const char **data, rpm_count_t count)
{
rpmTagType type = rpmTagGetType(tag) & RPM_MASK_TYPE;
if (type != RPM_STRING_ARRAY_TYPE || count < 1)