]> git.michaelhowe.org Git - packages/o/openafs.git/commit
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>
Fri, 10 Dec 2010 16:38:14 +0000 (08:38 -0800)
commit6e245f307be77d67eacfdfd5b3c3eae4115bb61d
treeddbdde757c2876bfdcaad5a97344cdcd6ff8f2f4
parent6b6d28d73726de84b1c54e10a21dc1e441912518
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.

Reviewed-on: http://gerrit.openafs.org/3341
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit acdef43d818ee56e6c1f1dc29f508c02793c8355)
Change-Id: If7dbe6f41f015025447e68eb1fc9ea14e56d6fe2
Reviewed-on: http://gerrit.openafs.org/3496
Tested-by: Derrick Brashear <shadow@dementia.org>
src/ptserver/map.c