Additional warning fixes and migration from int to size_t or long where appropriate

This commit is contained in:
ridiculousfish
2012-08-04 13:47:56 -07:00
parent 7a46227141
commit 54ceb4211e
7 changed files with 228 additions and 287 deletions

View File

@@ -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