]> git.michaelhowe.org Git - packages/o/openafs.git/commit
STABLE14-aix-vol-salvage-make-malloc-not-be-cast-20041106
authorHorst Birthelmer <horst@riback.net>
Tue, 9 Nov 2004 17:20:26 +0000 (17:20 +0000)
committerDerrick Brashear <shadow@dementia.org>
Tue, 9 Nov 2004 17:20:26 +0000 (17:20 +0000)
commitc8bc0854f8e3d66f7eb3a32c1c49572ca0aa08fc
treeaa14911ae1e2ea672068acc2345cf0fd2a1b5b17
parentbaf6965f1556be8203989cae24256c7fc499e2d7
STABLE14-aix-vol-salvage-make-malloc-not-be-cast-20041106

When you have a 64bit big endian machine with a 64bit off_t in the stat
the salvager won't work.

Malloc takes an "unsigned long" and a implicit cast will be almost
always zero :-).

(cherry picked from commit c0dd32748f5a64676ddbc7897d1a622e0f250cd7)
src/vol/vol-salvage.c