use proper 64bit casting for pointer-math
authorChristof Hanke <christof.hanke@rzg.mpg.de>
Fri, 19 Nov 2010 20:30:21 +0000 (21:30 +0100)
committerDerrick Brashear <shadow@dementia.org>
Sun, 21 Nov 2010 14:36:41 +0000 (06:36 -0800)
commitacdef43d818ee56e6c1f1dc29f508c02793c8355
tree51df4a2bb66393bd43fbb3b681cf2df897510528
parent01b9cee0d0d4a328b662c0138efcd8506126084c
use proper 64bit casting for pointer-math

building with "./configure --enable-checking --enable-supergroups"
fails, because on 64bit, the casting in map.c gives a warning.
Just add another ifdef and cast according to the size of a pointer.

Change-Id: Icb35d79f56cf8fec48c863061a524f9e29e6acd8
Reviewed-on: http://gerrit.openafs.org/3341
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/ptserver/map.c