diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2017-03-13 13:08:49 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska-skaware@skarnet.org> | 2017-03-13 13:08:49 +0000 |
| commit | 2270be82ade6f2e63d652602a3842aa1fca3cb7c (patch) | |
| tree | d159fd148ffec62a2e8c6d79beb3e50e0514571a /src/libs6rc/s6rc_db_read_uint32.c | |
| parent | 1e709ae40466a7742ba8cbdeff841c6edfaa5e5e (diff) | |
| download | s6-rc-2270be82ade6f2e63d652602a3842aa1fca3cb7c.tar.gz | |
Adapt to skalibs-2.5.0.0
Diffstat (limited to 'src/libs6rc/s6rc_db_read_uint32.c')
| -rw-r--r-- | src/libs6rc/s6rc_db_read_uint32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs6rc/s6rc_db_read_uint32.c b/src/libs6rc/s6rc_db_read_uint32.c index 937847b..9f96b33 100644 --- a/src/libs6rc/s6rc_db_read_uint32.c +++ b/src/libs6rc/s6rc_db_read_uint32.c @@ -7,7 +7,7 @@ int s6rc_db_read_uint32 (buffer *b, uint32_t *x) { - unsigned int w = 0 ; + size_t w = 0 ; char pack[4] ; if (buffer_getall(b, pack, 4, &w) <= 0) return 0 ; uint32_unpack_big(pack, x) ; |
