[Android] std_logger: fix warning

Thomas Guillem git at videolan.org
Tue Aug 30 17:28:40 CEST 2016


vlc-android | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Aug 30 17:28:24 2016 +0200| [931e73d5fe9b000762d978bd89a47d76b5a3e101] | committer: Thomas Guillem

std_logger: fix warning

> https://code.videolan.org/videolan/vlc-android/commit/931e73d5fe9b000762d978bd89a47d76b5a3e101
---

 libvlc/jni/std_logger.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libvlc/jni/std_logger.c b/libvlc/jni/std_logger.c
index c6bf3b8..c37a38f 100644
--- a/libvlc/jni/std_logger.c
+++ b/libvlc/jni/std_logger.c
@@ -167,7 +167,7 @@ std_logger_Close(std_logger *sys)
 {
     if (sys->stop_pipe[1] != -1)
     {
-        write(sys->stop_pipe[1], '\0', 1);
+        write(sys->stop_pipe[1], "\0", 1);
         close(sys->stop_pipe[1]);
         sys->stop_pipe[1] = -1;
         pthread_join(sys->thread, NULL);



More information about the Android mailing list