diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2018-11-26 21:36:51 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2018-11-26 21:36:51 +0100 |
commit | 243c25fd8f397ff37c1ad597524cccd23db46d1c (patch) | |
tree | 4020340ce2c1ec7b4fe1511f6b04529cac3631c1 | |
parent | 3484b7c23acf79ed99fd0e18b03a4d402e3feda6 (diff) |
upas/fs: avoid switch on vlong breaking build (thanks k0ga)
-rw-r--r-- | sys/src/cmd/upas/fs/dat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/upas/fs/dat.h b/sys/src/cmd/upas/fs/dat.h index 653232383..67f11bb98 100644 --- a/sys/src/cmd/upas/fs/dat.h +++ b/sys/src/cmd/upas/fs/dat.h @@ -305,7 +305,7 @@ enum { }; #define PATH(id, f) (((uvlong)(id)<<10) | (f)) -#define FILE(p) ((p) & 0x3ff) +#define FILE(p) ((int) (p) & 0x3ff) /* hash table to aid in name lookup, all files have an entry */ typedef struct Hash Hash; |