aboutsummaryrefslogtreecommitdiff
path: root/tests/convey.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/convey.c')
-rw-r--r--tests/convey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/convey.c b/tests/convey.c
index 62471a2c..d1691665 100644
--- a/tests/convey.c
+++ b/tests/convey.c
@@ -705,7 +705,7 @@ convey_vlogf(struct convey_log *log, const char *fmt, va_list va, int addnl)
{
/* Grow the log buffer if we need to */
while ((log->log_size - log->log_length) < 256) {
- int newsz = log->log_size + 2000;
+ size_t newsz = log->log_size + 2000;
char *ptr = malloc(newsz);
if (ptr == NULL) {
return;