diff options
author | Rainer Gerhards <rgerhards@adiscon> | 2008-04-14 13:35:19 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon> | 2008-04-14 13:35:19 +0200 |
commit | 318be337dd7f3ce1c1a308712e308f5b56ce9027 (patch) | |
tree | fb0d606c59fae4c50eac9146f900957a176e8875 /plugins | |
parent | f8dff16a4a1d606f41d738f7381649282c74ca25 (diff) | |
download | rsyslog-318be337dd7f3ce1c1a308712e308f5b56ce9027.tar.gz rsyslog-318be337dd7f3ce1c1a308712e308f5b56ce9027.tar.xz rsyslog-318be337dd7f3ce1c1a308712e308f5b56ce9027.zip |
fix compiler warning on char/uchar
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/imklog/bsd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/imklog/bsd.c b/plugins/imklog/bsd.c index c5b79541..39b644c0 100644 --- a/plugins/imklog/bsd.c +++ b/plugins/imklog/bsd.c @@ -131,18 +131,18 @@ readklog(void) for (p = line; (q = strchr(p, '\n')) != NULL; p = q + 1) { *q = '\0'; - Syslog(LOG_INFO, p); + Syslog(LOG_INFO, (uchar*) p); } len = strlen(p); if (len >= MAXLINE - 1) { - Syslog(LOG_INFO, p); + Syslog(LOG_INFO, (uchar*)p); len = 0; } if (len > 0) memmove(line, p, len + 1); } if (len > 0) - Syslog(LOG_INFO, line); + Syslog(LOG_INFO, (uchar*)line); } |