[easytag/wip/mingw-2.1.9alpha1: 1/4] Cast DWORD to guint32 when calling Log_Print()
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [easytag/wip/mingw-2.1.9alpha1: 1/4] Cast DWORD to guint32 when calling Log_Print()
- Date: Tue, 8 Oct 2013 23:29:39 +0000 (UTC)
commit fe19980e6d5c55c84d09ad7566deaa7b62b461d8
Author: David King <amigadave amigadave com>
Date: Tue Oct 8 19:07:06 2013 +0100
Cast DWORD to guint32 when calling Log_Print()
src/browser.c | 3 ++-
src/misc.c | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/browser.c b/src/browser.c
index 25a3b95..9f5b484 100644
--- a/src/browser.c
+++ b/src/browser.c
@@ -4306,7 +4306,8 @@ Run_Program (const gchar *program_name, GList *args_list)
&siStartupInfo,
&piProcessInfo) == FALSE)
{
- Log_Print(LOG_ERROR,_("Cannot execute %s (error %d)\n"), program_name, GetLastError());
+ Log_Print (LOG_ERROR, _("Cannot execute %s (error %d)\n"),
+ program_name, (guint32)GetLastError ());
}
// Free allocated parameters (for each filename)
diff --git a/src/misc.c b/src/misc.c
index 5b05895..e94638d 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -833,7 +833,8 @@ Run_Audio_Player_Using_File_List (GList *etfilelist)
&siStartupInfo,
&piProcessInfo) == FALSE)
{
- Log_Print(LOG_ERROR,_("Cannot execute %s (error %d)\n"), AUDIO_FILE_PLAYER, GetLastError());
+ Log_Print (LOG_ERROR, _("Cannot execute %s (error %d)\n"),
+ AUDIO_FILE_PLAYER, (guint32)GetLastError ());
}
// Free allocated parameters (for each filename)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]