diff options
Diffstat (limited to 'st.c')
| -rw-r--r-- | st.c | 8 |
1 files changed, 4 insertions, 4 deletions
| @@ -135,7 +135,7 @@ typedef struct { | |||
| 135 | /* ESC '[' [[ [<priv>] <arg> [;]] <mode> [<mode>]] */ | 135 | /* ESC '[' [[ [<priv>] <arg> [;]] <mode> [<mode>]] */ |
| 136 | typedef struct { | 136 | typedef struct { |
| 137 | char buf[ESC_BUF_SIZ]; /* raw string */ | 137 | char buf[ESC_BUF_SIZ]; /* raw string */ |
| 138 | int len; /* raw string length */ | 138 | size_t len; /* raw string length */ |
| 139 | char priv; | 139 | char priv; |
| 140 | int arg[ESC_ARG_SIZ]; | 140 | int arg[ESC_ARG_SIZ]; |
| 141 | int narg; /* nb of args */ | 141 | int narg; /* nb of args */ |
| @@ -147,7 +147,7 @@ typedef struct { | |||
| 147 | typedef struct { | 147 | typedef struct { |
| 148 | char type; /* ESC type ... */ | 148 | char type; /* ESC type ... */ |
| 149 | char buf[STR_BUF_SIZ]; /* raw string */ | 149 | char buf[STR_BUF_SIZ]; /* raw string */ |
| 150 | int len; /* raw string length */ | 150 | size_t len; /* raw string length */ |
| 151 | char *args[STR_ARG_SIZ]; | 151 | char *args[STR_ARG_SIZ]; |
| 152 | int narg; /* nb of args */ | 152 | int narg; /* nb of args */ |
| 153 | } STREscape; | 153 | } STREscape; |
| @@ -1803,7 +1803,7 @@ csihandle(void) | |||
| 1803 | void | 1803 | void |
| 1804 | csidump(void) | 1804 | csidump(void) |
| 1805 | { | 1805 | { |
| 1806 | int i; | 1806 | size_t i; |
| 1807 | uint c; | 1807 | uint c; |
| 1808 | 1808 | ||
| 1809 | fprintf(stderr, "ESC["); | 1809 | fprintf(stderr, "ESC["); |
| @@ -1921,7 +1921,7 @@ strparse(void) | |||
| 1921 | void | 1921 | void |
| 1922 | strdump(void) | 1922 | strdump(void) |
| 1923 | { | 1923 | { |
| 1924 | int i; | 1924 | size_t i; |
| 1925 | uint c; | 1925 | uint c; |
| 1926 | 1926 | ||
| 1927 | fprintf(stderr, "ESC%c", strescseq.type); | 1927 | fprintf(stderr, "ESC%c", strescseq.type); |
