[easytag/wip/mingw: 7/10] Fix two pointer cast warnings



commit c5217ab74ad5347bdb5dad32b3373b33dc1d4f69
Author: David King <amigadave amigadave com>
Date:   Tue Jan 15 22:25:58 2013 +0000

    Fix two pointer cast warnings

 src/win32/win32dep.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/win32/win32dep.c b/src/win32/win32dep.c
index ce3b1b1..0cc9506 100644
--- a/src/win32/win32dep.c
+++ b/src/win32/win32dep.c
@@ -632,7 +632,7 @@ et_w32_truncate (const gchar *path, off_t length)
         return -1;
     }
 
-    ret = chsize (h, length);
+    ret = chsize ((gint)h, length);
     CloseHandle (h);
 
     return ret;
@@ -647,5 +647,5 @@ et_w32_ftruncate (gint fd, off_t length)
 
     if (h == (HANDLE) - 1) return -1;
 
-    return chsize (h, length);
+    return chsize ((gint)h, length);
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]