git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
linux-and-64bit-cleanup-20050710
[openafs.git]
/
src
/
budb
/
db_text.c
diff --git
a/src/budb/db_text.c
b/src/budb/db_text.c
index
be3ad81
..
0627cc7
100644
(file)
--- a/
src/budb/db_text.c
+++ b/
src/budb/db_text.c
@@
-441,7
+441,7
@@
SaveText(call, lockHandle, textType, offset, flags, charListPtr)
/* now have to update the previous block's link */
linkOffset =
- (afs_int32) & diskBlock.h.next - (afs_int32) & diskBlock;
+ (afs_int32) ((char*)& diskBlock.h.next - (char*)& diskBlock);
linkValue = htonl(diskBlockAddr);
code =