From 456c701f8cc82b30babb0234dc6bac827859b21a Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Wed, 4 Jul 2007 09:41:42 +0000 Subject: some more unsigned char conversions... --- outchannel.c | 2 +- outchannel.h | 2 +- template.c | 2 +- template.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/outchannel.c b/outchannel.c index ef4f1ac6..a0ee01b3 100644 --- a/outchannel.c +++ b/outchannel.c @@ -175,7 +175,7 @@ static int get_restOfLine(char **pp, char **pBuf) * There might be some whitespace between the field (but not within) * and the commas. This can be removed. */ -struct outchannel *ochAddLine(char* pName, char** ppRestOfConfLine) +struct outchannel *ochAddLine(char* pName, unsigned char** ppRestOfConfLine) { struct outchannel *pOch; char *p; diff --git a/outchannel.h b/outchannel.h index 45957407..eb12af7a 100644 --- a/outchannel.h +++ b/outchannel.h @@ -13,7 +13,7 @@ struct outchannel { }; struct outchannel* ochConstruct(void); -struct outchannel *ochAddLine(char* pName, char** pRestOfConfLine); +struct outchannel *ochAddLine(char* pName, unsigned char** pRestOfConfLine); struct outchannel *ochFind(char *pName, int iLenName); void ochDeleteAll(void); void ochPrintList(void); diff --git a/template.c b/template.c index 00dda0d0..ff622635 100644 --- a/template.c +++ b/template.c @@ -445,7 +445,7 @@ static int do_Parameter(char **pp, struct template *pTpl) /* Add a new template line * returns pointer to new object if it succeeds, NULL otherwise. */ -struct template *tplAddLine(char* pName, char** ppRestOfConfLine) +struct template *tplAddLine(char* pName, unsigned char** ppRestOfConfLine) { struct template *pTpl; char *p; diff --git a/template.h b/template.h index a23a3ba6..0e707eff 100644 --- a/template.h +++ b/template.h @@ -63,7 +63,7 @@ struct templateEntry { }; struct template* tplConstruct(void); -struct template *tplAddLine(char* pName, char** pRestOfConfLine); +struct template *tplAddLine(char* pName, unsigned char** pRestOfConfLine); struct template *tplFind(char *pName, int iLenName); int tplGetEntryCount(struct template *pTpl); void tplDeleteAll(void); -- cgit v1.2.3