fix warnings

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6706 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Dave Peticolas 2002-02-10 09:57:39 +00:00
parent 2e42ed44b9
commit edbbab384a
2 changed files with 6 additions and 4 deletions

View File

@ -262,8 +262,10 @@ gnc_search_dialog_close_cb (GnomeDialog *dialog, GNCSearchWindow *sw)
}
static void
close_handler (GNCSearchWindow *sw)
close_handler (gpointer data)
{
GNCSearchWindow * sw = data;
gnome_dialog_close (GNOME_DIALOG (sw->dialog));
}
@ -380,8 +382,8 @@ make_param (GNCIdTypeConst type, const char *title, const char *path1,
gnc_search_param_set_title (param, title);
if (path2)
l = g_slist_prepend (l, path2);
l = g_slist_prepend (l, path1);
l = g_slist_prepend (l, (gpointer) path2);
l = g_slist_prepend (l, (gpointer) path1);
gnc_search_param_set_param_path (param, type, l);

View File

@ -473,7 +473,7 @@ gnc_report_window_export_button_cb(GtkWidget * w, gpointer data)
SCM res;
choice = gh_cdr (choice);
file_scm = gh_str02scm (filepath);
file_scm = gh_str02scm ((char *) filepath);
res = gh_call3 (export_thunk, report->cur_report, choice, file_scm);