Use correct type for strlen()

This commit is contained in:
Panu Matilainen 2008-06-10 10:02:52 +03:00
parent 4ffee98a65
commit af9518dce2
1 changed files with 1 additions and 1 deletions

View File

@ -1232,7 +1232,7 @@ expandMacro(MacroBuf mb)
rc = 1;
printbuf = rpmluaGetPrintBuffer(lua);
if (printbuf) {
int len = strlen(printbuf);
size_t len = strlen(printbuf);
if (len > mb->nb)
len = mb->nb;
memcpy(mb->t, printbuf, len);