Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
htop
Commits
6cc0a8c8
You need to sign in or sign up before continuing.
Commit
6cc0a8c8
authored
May 25, 2016
by
Hisham
Browse files
Make sure a pointer fits in the argument!
parent
645057d8
Changes
2
Hide whitespace changes
Inline
Side-by-side
MainPanel.c
View file @
6cc0a8c8
...
...
@@ -162,7 +162,7 @@ const char* MainPanel_getValue(MainPanel* this, int i) {
return
""
;
}
bool
MainPanel_foreachProcess
(
MainPanel
*
this
,
MainPanel_ForeachProcessFn
fn
,
in
t
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
;
...
...
MainPanel.h
View file @
6cc0a8c8
...
...
@@ -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
,
in
t
arg
,
bool
*
wasAnyTagged
);
bool
MainPanel_foreachProcess
(
MainPanel
*
this
,
MainPanel_ForeachProcessFn
fn
,
size_
t
arg
,
bool
*
wasAnyTagged
);
extern
PanelClass
MainPanel_class
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment