libaacs | branch: master | npzacs <npz...@gmail.com> | Mon Mar  4 14:35:30 2013 
+0200| [f096d17343735bdab11fab6cabb0ae2a7555e94b] | committer: npzacs

Fixed logging pointers

> http://git.videolan.org/gitweb.cgi/libaacs.git/?a=commit;h=f096d17343735bdab11fab6cabb0ae2a7555e94b
---

 src/file/file_posix.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/file/file_posix.c b/src/file/file_posix.c
index b8a0772..445f611 100644
--- a/src/file/file_posix.c
+++ b/src/file/file_posix.c
@@ -38,7 +38,7 @@ static void file_close_linux(AACS_FILE_H *file)
     if (file) {
         fclose((FILE *)file->internal);
 
-        DEBUG(DBG_FILE, "Closed LINUX file (%p)\n", file);
+        DEBUG(DBG_FILE, "Closed LINUX file (%p)\n", (void*)file);
 
         X_FREE(file);
     }
@@ -82,7 +82,7 @@ static AACS_FILE_H *file_open_linux(const char* filename, 
const char *mode)
     FILE *fp = NULL;
     AACS_FILE_H *file = malloc(sizeof(AACS_FILE_H));
 
-    DEBUG(DBG_FILE, "Opening LINUX file %s... (%p)\n", filename, file);
+    DEBUG(DBG_FILE, "Opening LINUX file %s... (%p)\n", filename, (void*)file);
     file->close = file_close_linux;
     file->seek = file_seek_linux;
     file->read = file_read_linux;
@@ -96,7 +96,7 @@ static AACS_FILE_H *file_open_linux(const char* filename, 
const char *mode)
         return file;
     }
 
-    DEBUG(DBG_FILE, "Error opening file %s ! (%p)\n", filename, file);
+    DEBUG(DBG_FILE, "Error opening file %s ! (%p)\n", filename, (void*)file);
 
     X_FREE(file);
 

_______________________________________________
libaacs-devel mailing list
libaacs-devel@videolan.org
http://mailman.videolan.org/listinfo/libaacs-devel

Reply via email to