summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-08-07 09:54:15 +0200
committerMichael Adam <obnox@samba.org>2009-08-07 09:54:15 +0200
commit2fff622819741a0a7e8fd60aabd68f9580af317e (patch)
treeef71fd64b7d0f563ac0ea0447cc685660882256b
parent4434dd24f16f9ada9acb90aaf0ad226ed17ab52e (diff)
send_stored_logs(): remove an implicit cast warning.
Michael
-rw-r--r--src/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/log.c b/src/log.c
index 80d044c..d803e47 100644
--- a/src/log.c
+++ b/src/log.c
@@ -216,7 +216,7 @@ send_stored_logs (void)
for (i = 0; (ssize_t)i != vector_length (log_message_storage); ++i)
{
- string = vector_getentry (log_message_storage, i, NULL);
+ string = (char *)vector_getentry (log_message_storage, i, NULL);
ptr = strchr (string, ' ') + 1;
level = atoi (string);