diff options
Diffstat (limited to 'gnustep-apps/terminal/files/terminal-0.9.5_pre20060324-size_t.patch')
-rw-r--r-- | gnustep-apps/terminal/files/terminal-0.9.5_pre20060324-size_t.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/gnustep-apps/terminal/files/terminal-0.9.5_pre20060324-size_t.patch b/gnustep-apps/terminal/files/terminal-0.9.5_pre20060324-size_t.patch new file mode 100644 index 0000000..aededf2 --- /dev/null +++ b/gnustep-apps/terminal/files/terminal-0.9.5_pre20060324-size_t.patch @@ -0,0 +1,38 @@ +--- Terminal/TerminalParser_Linux.h ++++ Terminal/TerminalParser_Linux.h +@@ -31,7 +31,7 @@ + int utf_count; + + unsigned char input_buf[16]; +- int input_buf_len; ++ size_t input_buf_len; + + #define TITLE_BUF_SIZE 255 + char title_buf[TITLE_BUF_SIZE+1]; +--- Terminal/TerminalParser_Linux.m ++++ Terminal/TerminalParser_Linux.m +@@ -1118,9 +1118,9 @@ + screen_char_t ch; + + char *inp; +- int in_size; ++ size_t in_size; + char *outp; +- int out_size; ++ size_t out_size; + int char_width; + + int ret; +@@ -1211,10 +1211,10 @@ + if (iconv_input_state) + { + unsigned int *inp; +- int insize; ++ size_t insize; + char *outp; + char buf[16+1]; +- int outsize; ++ size_t outsize; + int ret; + + for (i=0;i<l;i++) |