Mercurial > hg > xmms-sid
changeset 506:d87ac4d5dc52
guint -> size_t
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 28 Jan 2007 13:40:05 +0000 |
parents | 36f8698fe927 |
children | 1c301e659af8 |
files | src/xs_support.c src/xs_support.h |
diffstat | 2 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xs_support.c Sat Jan 27 03:08:03 2007 +0000 +++ b/src/xs_support.c Sun Jan 28 13:40:05 2007 +0000 @@ -211,21 +211,21 @@ } -void xs_findnext(gchar *pcStr, guint *piPos) +void xs_findnext(gchar *pcStr, size_t *piPos) { while (pcStr[*piPos] && isspace(pcStr[*piPos])) (*piPos)++; } -void xs_findeol(gchar *pcStr, guint *piPos) +void xs_findeol(gchar *pcStr, size_t *piPos) { while (pcStr[*piPos] && (pcStr[*piPos] != '\n') && (pcStr[*piPos] != '\r')) (*piPos)++; } -void xs_findnum(gchar *pcStr, guint *piPos) +void xs_findnum(gchar *pcStr, size_t *piPos) { while (pcStr[*piPos] && isdigit(pcStr[*piPos])) (*piPos)++;
--- a/src/xs_support.h Sat Jan 27 03:08:03 2007 +0000 +++ b/src/xs_support.h Sun Jan 28 13:40:05 2007 +0000 @@ -55,9 +55,9 @@ gint xs_pstrcat(gchar **, const gchar *); void xs_pnstrcat(gchar *, size_t, gchar *); gchar *xs_strrchr(gchar *, gchar); -inline void xs_findnext(gchar *, guint *); -inline void xs_findeol(gchar *, guint *); -inline void xs_findnum(gchar *, guint *); +void xs_findnext(gchar *, size_t *); +void xs_findeol(gchar *, size_t *); +void xs_findnum(gchar *, size_t *); #ifdef HAVE_MEMSET #define xs_memset memset