parse-util: fix conversion from size_t on s390 (#3147)
authorLubomir Rintel <lkundrak@v3.sk>
Fri, 29 Apr 2016 09:45:07 +0000 (11:45 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 29 Apr 2016 09:45:07 +0000 (11:45 +0200)
commite4196edfbf8edcee8771be5a71b69c95ea63d604
tree950d63b2e077d725fce5a9a6f7edd8a40e3565a4
parente0a24179c0cd874aa901ff618c64041f851537ef
parse-util: fix conversion from size_t on s390 (#3147)

On s390 size_t is an unsigned long, nor an unsigned int. They both are
of the same size and can be cast to each other safely, but the compiler
still seems unhappy about incompatible pointers.

Fixes: 7c2da2ca8
src/basic/parse-util.h