diff options
| -rw-r--r-- | st.c | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -362,7 +362,7 @@ static void tsetdirtattr(int); | |||
| 362 | static void tsetmode(bool, bool, int *, int); | 362 | static void tsetmode(bool, bool, int *, int); |
| 363 | static void tfulldirt(void); | 363 | static void tfulldirt(void); |
| 364 | static void techo(char *, int); | 364 | static void techo(char *, int); |
| 365 | static ulong tdefcolor(int *, int *, int); | 365 | static long tdefcolor(int *, int *, int); |
| 366 | static inline bool match(uint, uint); | 366 | static inline bool match(uint, uint); |
| 367 | static void ttynew(void); | 367 | static void ttynew(void); |
| 368 | static void ttyread(void); | 368 | static void ttyread(void); |
| @@ -1626,7 +1626,7 @@ tdeleteline(int n) { | |||
| 1626 | tscrollup(term.c.y, n); | 1626 | tscrollup(term.c.y, n); |
| 1627 | } | 1627 | } |
| 1628 | 1628 | ||
| 1629 | ulong | 1629 | long |
| 1630 | tdefcolor(int *attr, int *npar, int l) { | 1630 | tdefcolor(int *attr, int *npar, int l) { |
| 1631 | long idx = -1; | 1631 | long idx = -1; |
| 1632 | uint r, g, b; | 1632 | uint r, g, b; |
| @@ -1677,7 +1677,7 @@ tdefcolor(int *attr, int *npar, int l) { | |||
| 1677 | void | 1677 | void |
| 1678 | tsetattr(int *attr, int l) { | 1678 | tsetattr(int *attr, int l) { |
| 1679 | int i; | 1679 | int i; |
| 1680 | ulong idx; | 1680 | long idx; |
| 1681 | 1681 | ||
| 1682 | for(i = 0; i < l; i++) { | 1682 | for(i = 0; i < l; i++) { |
| 1683 | switch(attr[i]) { | 1683 | switch(attr[i]) { |
