diff options
| author | 2025-10-29 16:23:56 +0100 | |
|---|---|---|
| committer | 2025-10-29 16:23:56 +0100 | |
| commit | 3588b4dbdb3be8648b47333b97e063c19d7ce9ae (patch) | |
| tree | 2e6898e2831e77cb52937378fa0be0c392e48aa4 /src/base64.c | |
| parent | 543e20b9d792bb16d6b3c594da129448f74142c5 (diff) | |
| download | libplist-3588b4dbdb3be8648b47333b97e063c19d7ce9ae.tar.gz libplist-3588b4dbdb3be8648b47333b97e063c19d7ce9ae.tar.bz2 | |
Use sufficiently large data type for indexes/position counters
Diffstat (limited to 'src/base64.c')
| -rw-r--r-- | src/base64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base64.c b/src/base64.c index ee02356..76990b9 100644 --- a/src/base64.c +++ b/src/base64.c @@ -78,7 +78,7 @@ unsigned char *base64decode(const char *buf, size_t *size) if (len <= 0) return NULL; unsigned char *outbuf = (unsigned char*)malloc((len/4)*3+3); const char *ptr = buf; - int p = 0; + size_t p = 0; int wv, w1, w2, w3, w4; int tmpval[4]; int tmpcnt = 0; |
