# HG changeset patch # User Matti Hamalainen # Date 1169991605 0 # Node ID d87ac4d5dc52887eb38da271a44831ab3c089d36 # Parent 36f8698fe92785f9aa6bdc1733fc6b04e6f8b2d2 guint -> size_t diff -r 36f8698fe927 -r d87ac4d5dc52 src/xs_support.c --- 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)++; diff -r 36f8698fe927 -r d87ac4d5dc52 src/xs_support.h --- 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