summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--syslogd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/syslogd.c b/syslogd.c
index ba0c53fe..938f7c3a 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -1942,7 +1942,7 @@ static int srSLMGParseInt32(unsigned char** ppsz)
* Parse a TIMESTAMP-3339.
* updates the parse pointer position.
*/
-static int srSLMGParseTIMESTAMP3339(struct syslogTime *pTime, unsigned char** ppszTS)
+static int srSLMGParseTIMESTAMP3339(struct syslogTime *pTime, char** ppszTS)
{
unsigned char *pszTS = *ppszTS;
@@ -4742,7 +4742,7 @@ static int parseRFCSyslogMsg(struct msg *pMsg, int flags)
*/
/* TIMESTAMP */
- if(srSLMGParseTIMESTAMP3339(&(pMsg->tTIMESTAMP), (unsigned char **) &p2parse) == FALSE) {
+ if(srSLMGParseTIMESTAMP3339(&(pMsg->tTIMESTAMP), &p2parse) == FALSE) {
dprintf("no TIMESTAMP detected!\n");
bContParse = 0;
flags |= ADDDATE;