diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2012-10-15 17:19:12 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-10-15 17:19:12 +0200 |
commit | 68414e7815813cf7a433b9b8a8cfbb28ec27c637 (patch) | |
tree | 971d545ed15129afce29c8d9cc702298cac55c35 /plugins/imfile/imfile.c | |
parent | 111706066670306026155ba7845ffffd65860c4e (diff) | |
download | rsyslog-68414e7815813cf7a433b9b8a8cfbb28ec27c637.tar.gz rsyslog-68414e7815813cf7a433b9b8a8cfbb28ec27c637.tar.bz2 rsyslog-68414e7815813cf7a433b9b8a8cfbb28ec27c637.zip |
cosmetic: remove compiler warning
Diffstat (limited to 'plugins/imfile/imfile.c')
-rw-r--r-- | plugins/imfile/imfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/imfile/imfile.c b/plugins/imfile/imfile.c index 9a8a0373..d50f917e 100644 --- a/plugins/imfile/imfile.c +++ b/plugins/imfile/imfile.c @@ -412,7 +412,7 @@ addListner(instanceConf_t *inst) pThis->lenTag = ustrlen(pThis->pszTag); pThis->pszStateFile = (uchar*) strdup((char*) inst->pszStateFile); - CHKiRet(ratelimitNew(&pThis->ratelimiter, "imfile", inst->pszFileName)); + CHKiRet(ratelimitNew(&pThis->ratelimiter, "imfile", (char*)inst->pszFileName)); CHKmalloc(pThis->multiSub.ppMsgs = MALLOC(inst->nMultiSub * sizeof(msg_t*))); pThis->multiSub.maxElem = inst->nMultiSub; pThis->multiSub.nElem = 0; |