[geany/geany-plugins] f0b2d4: debugger: Fix a few integer signedness comparison issues
Colomban Wendling
git-noreply at xxxxx
Sun Nov 15 17:28:21 UTC 2015
Branch: refs/heads/master
Author: Colomban Wendling <ban at herbesfolles.org>
Committer: Colomban Wendling <ban at herbesfolles.org>
Date: Mon, 27 Oct 2014 20:49:45 UTC
Commit: f0b2d4b913bf30d7f1f108d0fa808283fdaaad3c
https://github.com/geany/geany-plugins/commit/f0b2d4b913bf30d7f1f108d0fa808283fdaaad3c
Log Message:
-----------
debugger: Fix a few integer signedness comparison issues
Modified Paths:
--------------
debugger/src/dpaned.c
debugger/src/markers.c
debugger/src/plugin.c
Modified: debugger/src/dpaned.c
4 lines changed, 2 insertions(+), 2 deletions(-)
===================================================================
@@ -154,10 +154,10 @@ static void on_page_reordered(GtkNotebook *notebook, GtkWidget *child, guint pag
gboolean is_tabbed = config_get_tabbed();
int *tabs = NULL;
gsize length;
- int prev_index;
+ gsize prev_index, min, max;
GtkWidget *page;
tab_id id;
- int i, min, max;
+ int i;
int config_part_tabs;
int config_part_selected_index;
int *array;
Modified: debugger/src/markers.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -98,7 +98,7 @@ void markers_set_for_document(ScintillaObject *sci)
void markers_init(void)
{
/* set markers in all currently opened documents */
- int i;
+ guint i;
foreach_document(i)
markers_set_for_document(document_index(i)->editor->sci);
}
Modified: debugger/src/plugin.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -89,7 +89,7 @@ static void on_paned_mode_changed(GtkToggleButton *button, gpointer user_data)
void plugin_init(GeanyData *data)
{
GtkWidget* vbox;
- int i;
+ guint i;
plugin_module_make_resident(geany_plugin);
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Plugins-Commits
mailing list