diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-03-29 20:15:20 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-03-29 20:15:20 -0700 |
commit | fd93094ebeae18ded6448dbaad2b78aeb2f1ccde (patch) | |
tree | 0dd843de8bd74e70083a5fa60f1f0802c04f9866 /share | |
parent | f87d813b6339efe1f7b96028cce0df2d96bae507 (diff) | |
download | txr-fd93094ebeae18ded6448dbaad2b78aeb2f1ccde.tar.gz txr-fd93094ebeae18ded6448dbaad2b78aeb2f1ccde.tar.bz2 txr-fd93094ebeae18ded6448dbaad2b78aeb2f1ccde.zip |
linenoise: replace poor uses of size_t with int.
* linenoise/linenoise.c (struct lino_state): Members
plen, pos, sel, end, dlen, dpos, dsel, dend, cols,
oldrow and maxrows change from size_t to int.
(struct lino_undo): Member dpos changes likewise.
(restore_undo, free_completions, complete_line,
next_hist_match, history_search, sync_data_to_buf,
copy_display_params, refresh_singleline, screen_rows,
col_offset_in_str, refresh_multiline, scan_match_rev,
scan_rev, scan_match_fwd, scan_fwd, find_nearest_paren,
paren_jump, update_sel, yank_sel, delete_sel, edit_insert,
edit_insert_str, edit_move_eol, edit_move_matching_paren,
edit_delete_prev_all, edit_delete_to_eol,
edit_delete_prev_word, edit_delete_line, edit): Replace
various size_t's in function arguments, return values
and local variables with int. Drop what would now be
useless casts of constants to type int.
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions