summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-06-16 07:15:48 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-06-16 07:15:48 +0200
commit4af40abc0a9cdc9f328830b6074f6182f43c171a (patch)
tree9f9ec8899508a1c61652098855209597cfd77e3d /runtime
parent16ecb90c3ac88bb2261c31c990d88f97f1a1b32f (diff)
downloadrsyslog-4af40abc0a9cdc9f328830b6074f6182f43c171a.tar.gz
rsyslog-4af40abc0a9cdc9f328830b6074f6182f43c171a.tar.xz
rsyslog-4af40abc0a9cdc9f328830b6074f6182f43c171a.zip
cleaned up small nit
Diffstat (limited to 'runtime')
-rw-r--r--runtime/unicode-helper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/unicode-helper.h b/runtime/unicode-helper.h
index 8216e992..7a776f68 100644
--- a/runtime/unicode-helper.h
+++ b/runtime/unicode-helper.h
@@ -40,7 +40,7 @@
#else
static inline uchar* ustrncpy(uchar *psz1, uchar *psz2, size_t len)
{
- return strncpy((char*) psz1, (char*) psz2, len);
+ return (uchar*) strncpy((char*) psz1, (char*) psz2, len);
}
static inline uchar* ustrdup(uchar *psz)