summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <matthias@benkard.de>2008-07-07 02:32:35 +0200
committerMatthias Andreas Benkard <matthias@benkard.de>2008-07-07 02:32:35 +0200
commit518b3fee7dd0b6a95aa2fd3c58e72c9a517b6a99 (patch)
tree1ee986fbd297f8a3587b79f9461a45f42c11c891
parent6d67743bb97b9053f5979e122b3bfb2a7f957e6d (diff)
Fix a warning when compiling on Mac OS X.
-rw-r--r--MLKReadEvalPrintLoop.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/MLKReadEvalPrintLoop.m b/MLKReadEvalPrintLoop.m
index ed073e7..8370f35 100644
--- a/MLKReadEvalPrintLoop.m
+++ b/MLKReadEvalPrintLoop.m
@@ -104,7 +104,7 @@ static const char *prompt (EditLine *e) {
while (1)
{
const char *line;
- ssize_t line_length;
+ int line_length;
line = el_gets (editline, &line_length);