catpoint

simple slides viewer
git clone git://git.2f30.org/catpoint
Log | Files | Refs | README | LICENSE

commit 7f8dd9be055e5c942aefab1091b542e40450136f
parent a87aef349b9dcd1c1d0d8a9ccb02fc71684c3d6b
Author: lostd <lostd@2f30.org>
Date:   Thu, 12 Dec 2013 17:32:40 +0200

Fix some type mismatches found by jit

Diffstat:
Mcatpoint.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/catpoint.c b/catpoint.c @@ -1,4 +1,4 @@ -/* $Id: catpoint.c,v 1.3 2013/08/11 23:02:41 lostd Exp $ */ +/* $Id: catpoint.c,v 1.4 2013/12/12 15:27:07 lostd Exp $ */ #include <sys/types.h> #include <sys/stat.h> @@ -16,10 +16,10 @@ struct slide { size_t siz; }; -static int +static void printslide(struct slide *s) { - unsigned char *p = s->buf; + char *p = s->buf; size_t i; for (i = 0; i < s->siz; i++)