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:
Anand V. Avati 2009-04-02 16:49:37 +05:30 committed by Anand V. Avati
parent 1e9b5a5a35
commit f2cdc5d10c

View File

@ -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");