[Pkg-wmaker-commits] [wmcoincoin] 52/87: Fix -Wint-to-pointer-cast compiler warnings.
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Fri Aug 28 17:27:38 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch master
in repository wmcoincoin.
commit cc654869df1044b5d0c5dc58fcb7e987a8773f2d
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date: Tue Nov 11 12:13:53 2014 -0600
Fix -Wint-to-pointer-cast compiler warnings.
---
src/wmccc_dialogs.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/wmccc_dialogs.c b/src/wmccc_dialogs.c
index 8ed352c..6e40870 100644
--- a/src/wmccc_dialogs.c
+++ b/src/wmccc_dialogs.c
@@ -101,7 +101,7 @@ static void wmccc_initialize_dialog(wmccc_dialog_t dlg) {
if (!isinit[dlg]) {
g_signal_connect ((gpointer) getdlg(dlg), "response",
G_CALLBACK (wmccc_dialog_response_cb),
- (gpointer)dlgstack.sz);
+ GINT_TO_POINTER(dlgstack.sz));
}
if (dlg != DLG_EDIT_OPTIONS &&
my_lookup_widget(w, "apply_bt") && (dlgstack.sz > 1 || glob.wmcc_pid == 0)) {
@@ -218,7 +218,7 @@ void wmccc_run_dialog(wmccc_dialog_t dlg, gboolean hide_parent) {
g_signal_connect ((gpointer) getdlg(dlg), "response",
G_CALLBACK (wmccc_dialog_response_cb),
- (gpointer)dlgstack.sz);
+ GINT_TO_POINTER(dlgstack.sz));
dlgstack.lst[dlgstack.sz++] = dlg;
gtk_widget_show(getdlg(dlg));
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmcoincoin.git
More information about the Pkg-wmaker-commits
mailing list