summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHisham <hisham@gobolinux.org>2016-05-25 16:46:47 -0300
committerHisham <hisham@gobolinux.org>2016-05-25 16:46:47 -0300
commit6cc0a8c82006fbe418ae1189586ab3974758f028 (patch)
treec20521a3186cdebdfe34fef4e770410226bf4243
parent645057d81aa619f4f9704cd221e63b357ac7f749 (diff)
Make sure a pointer fits in the argument!
-rw-r--r--MainPanel.c2
-rw-r--r--MainPanel.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/MainPanel.c b/MainPanel.c
index ed7f3ad1..708a0775 100644
--- a/MainPanel.c
+++ b/MainPanel.c
@@ -162,7 +162,7 @@ const char* MainPanel_getValue(MainPanel* this, int i) {
return "";
}
-bool MainPanel_foreachProcess(MainPanel* this, MainPanel_ForeachProcessFn fn, int arg, bool* wasAnyTagged) {
+bool MainPanel_foreachProcess(MainPanel* this, MainPanel_ForeachProcessFn fn, size_t arg, bool* wasAnyTagged) {
Panel* super = (Panel*) this;
bool ok = true;
bool anyTagged = false;
diff --git a/MainPanel.h b/MainPanel.h
index 83253d66..f4671f33 100644
--- a/MainPanel.h
+++ b/MainPanel.h
@@ -34,7 +34,7 @@ int MainPanel_selectedPid(MainPanel* this);
const char* MainPanel_getValue(MainPanel* this, int i);
-bool MainPanel_foreachProcess(MainPanel* this, MainPanel_ForeachProcessFn fn, int arg, bool* wasAnyTagged);
+bool MainPanel_foreachProcess(MainPanel* this, MainPanel_ForeachProcessFn fn, size_t arg, bool* wasAnyTagged);
extern PanelClass MainPanel_class;

© 2014-2024 Faster IT GmbH | imprint | privacy policy