change char to int in execute_cmd (based on comment on #26006 from Giorgio Marinelli <gio@reversiva.net>
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
This commit is contained in:
parent
1e9b5a5a35
commit
f2cdc5d10c
@ -431,7 +431,7 @@ execute_cmd (char *cmd, char **result, size_t size)
|
||||
{
|
||||
FILE *fpp = NULL;
|
||||
int i = 0, status = 0;
|
||||
char character = 0;
|
||||
int character = 0;
|
||||
char *buf = *result;
|
||||
|
||||
fpp = popen (cmd, "r");
|
||||
|
Loading…
Reference in New Issue
Block a user