diff options
| author | Russ Cox <rsc@swtch.com> | 2014-03-13 18:46:28 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@swtch.com> | 2014-03-13 18:46:28 -0400 |
| commit | 219cf22d6863a21a7378fc5481bb05bbb6edd2dc (patch) | |
| tree | 22578b0e1f1258d6bc799aa71623dd80a2e2d130 /src/cmd/acme/dat.h | |
| parent | e78ed7a67bbaa37dc57dfb37219f505c48755e14 (diff) | |
| download | plan9port-219cf22d6863a21a7378fc5481bb05bbb6edd2dc.tar.gz plan9port-219cf22d6863a21a7378fc5481bb05bbb6edd2dc.zip | |
acme, sam: handle >1GB files correctly
TBR=rsc
https://codereview.appspot.com/74060043
Diffstat (limited to 'src/cmd/acme/dat.h')
| -rw-r--r-- | src/cmd/acme/dat.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/acme/dat.h b/src/cmd/acme/dat.h index d0feb095..5c156eb6 100644 --- a/src/cmd/acme/dat.h +++ b/src/cmd/acme/dat.h @@ -69,7 +69,7 @@ struct Range struct Block { - uint addr; /* disk address in bytes */ + vlong addr; /* disk address in bytes */ union { uint n; /* number of used runes in block */ @@ -80,7 +80,7 @@ struct Block struct Disk { int fd; - uint addr; /* length of temp file */ + vlong addr; /* length of temp file */ Block *free[Maxblock/Blockincr+1]; }; |
