From 1d0ed63faef8861a5a1026813aa8907828671e40 Mon Sep 17 00:00:00 2001 From: Eric Gillespie Date: Sun, 10 Apr 2016 06:17:35 +0000 Subject: [PATCH] oops, pass int to m_getfld not size_t --- sbr/oauth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbr/oauth.c b/sbr/oauth.c index 70de7dbe..0d6d76d4 100644 --- a/sbr/oauth.c +++ b/sbr/oauth.c @@ -786,7 +786,7 @@ load_creds(struct user_creds **result, FILE *fp, mh_oauth_ctx *ctx) user_creds->creds = mh_xmalloc(user_creds->alloc * sizeof *user_creds->creds); for (;;) { - size_t size = sizeof value_buf; + int size = sizeof value_buf; switch (state = m_getfld(&getfld_ctx, name, value_buf, &size, fp)) { case FLD: case FLDPLUS: { -- 2.56.0