64-bit fixes
This commit is contained in:
parent
f8e39513f3
commit
2c0f3733ad
7 changed files with 152 additions and 80 deletions
|
|
@ -177,7 +177,7 @@ raspinsert(File *f, uint p1, Rune *buf, uint n, int toterm)
|
|||
}
|
||||
|
||||
#define M 0x80000000L
|
||||
#define P(i) r->longptr[i]
|
||||
#define P(i) r->posnptr[i]
|
||||
#define T(i) (P(i)&M) /* in terminal */
|
||||
#define L(i) (P(i)&~M) /* length of this piece */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue