[planner: 1/4] signedness: prevent g(u)char and g(u)int conversion
- From: Mart Raudsepp <mraudsepp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [planner: 1/4] signedness: prevent g(u)char and g(u)int conversion
- Date: Sun, 27 Jun 2021 18:34:17 +0000 (UTC)
commit 7ce1c66bd0d751d7fb69e734316dd1eed24764ec
Author: Andrew Miloradovsky <miloradovsky gmail com>
Date: Fri May 12 17:27:37 2017 +0000
signedness: prevent g(u)char and g(u)int conversion
https://bugzilla.gnome.org/show_bug.cgi?id=782572
src/planner-format.c | 2 +-
src/planner-window.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/planner-format.c b/src/planner-format.c
index 79538ca8..4b191227 100644
--- a/src/planner-format.c
+++ b/src/planner-format.c
@@ -37,7 +37,7 @@ planner_format_int (gint number)
struct lconv *locality;
gint char_length = 0;
gint group_count = 0;
- guchar *grouping;
+ gchar *grouping;
int last_count = 3;
int divider;
char *value;
diff --git a/src/planner-window.c b/src/planner-window.c
index 4990b57c..cb04dde1 100644
--- a/src/planner-window.c
+++ b/src/planner-window.c
@@ -1216,7 +1216,7 @@ window_drag_data_received_cb (GtkWidget *widget,
return;
}
- uris = g_uri_list_extract_uris ((const gchar *)gtk_selection_data_get_data (data));
+ uris = gtk_selection_data_get_uris (data);
i = 0;
while (uris[i]) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]