From 5ed95d5bdd78b7613846d9adf7eb2981ccf34292 Mon Sep 17 00:00:00 2001 From: jdolan Date: Sun, 7 Jul 2013 09:51:38 -0400 Subject: [PATCH] Fix signedness warning by casting. --- libs/picomodel/picointernal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/picomodel/picointernal.c b/libs/picomodel/picointernal.c index d8d316a..d4fd8b4 100644 --- a/libs/picomodel/picointernal.c +++ b/libs/picomodel/picointernal.c @@ -761,8 +761,8 @@ picoParser_t *_pico_new_parser( picoByte_t *buffer, int bufSize ){ return NULL; } /* setup */ - p->buffer = buffer; - p->cursor = buffer; + p->buffer = (char *)buffer; + p->cursor = p->buffer; p->bufSize = bufSize; p->max = p->buffer + bufSize; p->curLine = 1; /* sea: new */