diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-06-11 08:57:08 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-06-11 08:57:08 +0000 |
commit | b08162acbae48d4dd347e21ed574f044e50a9e6f (patch) | |
tree | 7d1b526603e06ef6b24f32fd04f95f641ef34e4b | |
parent | f87e084925dec6b82734cd2dc44695633b0c3ee5 (diff) | |
download | rsyslog-b08162acbae48d4dd347e21ed574f044e50a9e6f.tar.gz rsyslog-b08162acbae48d4dd347e21ed574f044e50a9e6f.tar.xz rsyslog-b08162acbae48d4dd347e21ed574f044e50a9e6f.zip |
fixed a compiler warning about strict aliasing
-rw-r--r-- | syslogd.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |