diff options
author | Russ Cox <rsc@swtch.com> | 2010-08-04 17:35:44 -0700 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2010-08-04 17:35:44 -0700 |
commit | 860d327c8f0f5d12a61deb1bcd1ef2faf671d208 (patch) | |
tree | 201a3c19db91fb93543ef9eda8d955912bb2e663 /src/cmd/sam | |
parent | 4e2602a75400da71741721079d547e2b05e97a7c (diff) | |
download | plan9port-860d327c8f0f5d12a61deb1bcd1ef2faf671d208.tar.gz plan9port-860d327c8f0f5d12a61deb1bcd1ef2faf671d208.tar.bz2 plan9port-860d327c8f0f5d12a61deb1bcd1ef2faf671d208.zip |
sam: use ulong as type of dev consistently
Otherwise io.c:39 compares int != ulong,
causing spurious file modification warnings
when dev doesn't fit in an int.
R=r
http://codereview.appspot.com/1917045
Diffstat (limited to 'src/cmd/sam')
-rw-r--r-- | src/cmd/sam/sam.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/sam/sam.h b/src/cmd/sam/sam.h index 04b3e117..f182ec98 100644 --- a/src/cmd/sam/sam.h +++ b/src/cmd/sam/sam.h @@ -160,7 +160,7 @@ struct File String name; /* name of associated file */ uvlong qidpath; /* of file when read */ uint mtime; /* of file when read */ - int dev; /* of file when read */ + ulong dev; /* of file when read */ int unread; /* file has not been read from disk */ long seq; /* if seq==0, File acts like Buffer */ |