aboutsummaryrefslogtreecommitdiffhomepage
path: root/reader.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-08-04 13:47:56 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-08-04 13:47:56 -0700
commit54ceb4211e0924b47890bb7d42cd7fe7f6a53818 (patch)
treed41e844384318e5add273e66b031e63fa34b38c5 /reader.h
parent7a4622714184f196d8592ee6188945fb0528bd06 (diff)
Additional warning fixes and migration from int to size_t or long where appropriate
Diffstat (limited to 'reader.h')
-rw-r--r--reader.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/reader.h b/reader.h
index a86f3d1b..732b06cf 100644
--- a/reader.h
+++ b/reader.h
@@ -107,9 +107,9 @@ void reader_set_buffer( const wcstring &b, size_t p );
/**
Get the current cursor position in the command line. If interactive
- mode is uninitialized, return -1.
+ mode is uninitialized, return (size_t)(-1).
*/
-int reader_get_cursor_pos();
+size_t reader_get_cursor_pos();
/**
Return the value of the interrupted flag, which is set by the sigint