Fix Warning issue x64 arch 22/16622/1
authorJean-Benoit MARTIN <jean-benoit.martin@open.eurogiciel.org>
Thu, 6 Feb 2014 14:49:30 +0000 (15:49 +0100)
committerJean-Benoit MARTIN <jean-benoit.martin@open.eurogiciel.org>
Wed, 19 Feb 2014 15:15:50 +0000 (16:15 +0100)
Change-Id: I6a31578b21326987894f84e9e709f4aee784ea2b
Signed-off-by: Jean-Benoit MARTIN <jean-benoit.martin@open.eurogiciel.org>
src/file_service.c

index e890d0b..b76509b 100644 (file)
@@ -506,7 +506,7 @@ static void *file_service_main(void *data)
                }
        }
 
-       return (void *)ret;
+       return (void *)(intptr_t)ret;
 }
 
 /* Master */
@@ -698,7 +698,7 @@ int file_service_fini(void)
        if (ret != 0) {
                ErrPrint("join: %s\n", strerror(ret));
        } else {
-               DbgPrint("file svc returns: %d\n", (int)svc_ret);
+               DbgPrint("file svc returns: %d\n", (int)(intptr_t)svc_ret);
        }
 
        ret = pthread_mutex_destroy(&s_info.file_svc_lock);