[easytag/wip/mingw: 11/14] Fix two pointer cast warnings
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [easytag/wip/mingw: 11/14] Fix two pointer cast warnings
- Date: Sun, 20 Jan 2013 22:38:11 +0000 (UTC)
commit 3d7d87908c918150005fa10efc9e9817912f5cc9
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]