sfeed

simple feed reader - forked from git.codemadness.org/sfeed
git clone git://src.gearsix.net/sfeed
Log | Files | Refs | Atom | README | LICENSE

commit 1b5891b03d4578526823ea1c8f93c87cdfa6e85b
parent 5c5a526d0abe22cb7fc30707bd14f09d8b5d1f9c
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Fri,  7 Sep 2018 19:01:49 +0200

util.c: remove remaining uint8_t type, we assume a sane CHAR_BIT == 8

Diffstat:
Mutil.c | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/util.c b/util.c @@ -6,7 +6,6 @@ #include <limits.h> #include <stdarg.h> #include <stdio.h> -#include <stdint.h> #include <stdlib.h> #include <string.h> #include <time.h> @@ -105,8 +104,8 @@ encodeuri(char *buf, size_t bufsiz, const char *s) if (b + 3 >= bufsiz) return -1; buf[b++] = '%'; - buf[b++] = table[((uint8_t)s[i] >> 4) & 15]; - buf[b++] = table[(uint8_t)s[i] & 15]; + buf[b++] = table[((unsigned char)s[i] >> 4) & 15]; + buf[b++] = table[(unsigned char)s[i] & 15]; } else if (b < bufsiz) { buf[b++] = s[i]; } else {