/* 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 =
}
-#if (defined(AFS_DEC_ENV) || defined(AFS_HPUX_ENV)) || defined(AFS_NT40_ENV)
+#if (defined(AFS_HPUX_ENV)) || defined(AFS_NT40_ENV)
/* mkstemp
* entry:
retval = open(mktemp(st), O_RDWR | O_CREAT | O_EXCL, 0600);
#endif
- error_exit:
return (retval);
}
#endif