chiark / gitweb /
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)
committerSven Eden <yamakuzure@gmx.net>
Fri, 16 Jun 2017 08:12:58 +0000 (10:12 +0200)
commit04d125031ef309f6a1cae8b7f79f2d08cf144ca2
tree4c341480bc2442020e8c304ed433d38e906a9493
parent37a18e3c54f5c49be532a1dbd21a0af6fd4fd27c
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