aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/sam/sam.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/sam/sam.h')
-rw-r--r--src/cmd/sam/sam.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/sam/sam.h b/src/cmd/sam/sam.h
index f182ec98..c2aaa070 100644
--- a/src/cmd/sam/sam.h
+++ b/src/cmd/sam/sam.h
@@ -113,7 +113,7 @@ enum
struct Block
{
- uint addr; /* disk address in bytes */
+ vlong addr; /* disk address in bytes */
union {
uint n; /* number of used runes in block */
Block *next; /* pointer to next in free list */
@@ -123,7 +123,7 @@ struct Block
struct Disk
{
int fd;
- uint addr; /* length of temp file */
+ vlong addr; /* length of temp file */
Block *free[Maxblock/Blockincr+1];
};