summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/spec.y
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs/src/spec.y')
-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");