summaryrefslogtreecommitdiffstats
path: root/libglusterfs
diff options
context:
space:
mode:
authorAnand V. Avati <avati@gluster.com>2009-04-02 16:49:37 +0530
committerAnand V. Avati <avati@amp.gluster.com>2009-04-02 18:13:49 +0530
commitf2cdc5d10c56ef8010ab83acf31b3fb6c4c2fd1f (patch)
treeecea06cd1b733a3cc70d3dbbb7b2a456459d882a /libglusterfs
parent1e9b5a5a35e8d53e631788443dadf1fe30853743 (diff)
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>
Diffstat (limited to 'libglusterfs')
-rw-r--r--libglusterfs/src/spec.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/libglusterfs/src/spec.y b/libglusterfs/src/spec.y
index a1d0c3ff4..feef421b5 100644
--- a/libglusterfs/src/spec.y
+++ b/libglusterfs/src/spec.y
@@ -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");