diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-12-03 13:53:05 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-12-03 13:53:05 +0000 |
commit | 1c3baa7191e5598c9ea082ba2f1d827559909e67 (patch) | |
tree | fda07497530c89737a6f5beb836fd8845b7d4029 /msg.c | |
parent | 2b5e4d68ed1e45b3732e53ee382161c8150dddce (diff) | |
download | rsyslog-1c3baa7191e5598c9ea082ba2f1d827559909e67.tar.gz rsyslog-1c3baa7191e5598c9ea082ba2f1d827559909e67.tar.xz rsyslog-1c3baa7191e5598c9ea082ba2f1d827559909e67.zip |
added Bartosz Kuzma patches for better compatibility with NetBSD - many
thanks for them!
Diffstat (limited to 'msg.c')
-rw-r--r-- | msg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1605,7 +1605,7 @@ char *MsgGetProp(msg_t *pMsg, struct templateEntry *pTpe, pSrc = pRes; while(*pSrc) { *pB++ = (pTpe->data.field.eCaseConv == tplCaseConvUpper) ? - toupper(*pSrc) : tolower(*pSrc); + (char)toupper((int)*pSrc) : (char)tolower((int)*pSrc); /* currently only these two exist */ ++pSrc; } |