[easytag/wip/mingw: 9/12] Fix two pointer cast warnings
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [easytag/wip/mingw: 9/12] Fix two pointer cast warnings
- Date: Wed, 16 Jan 2013 21:04:58 +0000 (UTC)
commit c73ae25c1a5fd11537b119efbe4c2d4794f1fa44
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]