diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-18 15:16:15 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-18 15:16:15 +0000 |
commit | 4a963e5f1fdac9c1d4d404fe75ea2ceaf93ae37d (patch) | |
tree | 6d0d0382436109f21844ab952507e8eed42b4ec6 /parse.c | |
parent | 48c0c81132fe0b4aadf46fd54fc5acd61bfbeffa (diff) | |
download | rsyslog-4a963e5f1fdac9c1d4d404fe75ea2ceaf93ae37d.tar.gz rsyslog-4a963e5f1fdac9c1d4d404fe75ea2ceaf93ae37d.tar.bz2 rsyslog-4a963e5f1fdac9c1d4d404fe75ea2ceaf93ae37d.zip |
code cleanup (removed compiler warnings
Diffstat (limited to 'parse.c')
-rw-r--r-- | parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -407,7 +407,7 @@ rsRetVal parsAddrWithBits(rsParsObj *pThis, struct NetAddr **pIP, int *pBits) memset (*pIP, 0, sizeof (struct NetAddr)); if (*((char*)pszIP) == '[') { - pszTmp = strchr ((char*)pszIP, ']'); + pszTmp = (uchar*)strchr ((char*)pszIP, ']'); if (pszTmp == NULL) { free (pszIP); return RS_RET_INVALID_IP; |