summaryrefslogtreecommitdiff
path: root/indra/newview/lltool.h
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2016-12-20 09:39:31 -0500
committerNat Goodspeed <nat@lindenlab.com>2016-12-20 09:39:31 -0500
commit2499f6bcff53812d1d8bd1a73d657ef1861d7482 (patch)
treeccdf0398eb4424e5e3a190793d53d647db2ddc0e /indra/newview/lltool.h
parent42b8895c54a1ab9aa019d4e60b5cf432506aff44 (diff)
DRTVWR-418: Casting pointer to BOOL is just wrong.
Since BOOL is simply a typedef for int, casting a 64-bit pointer to 32-bit int is correctly diagnosed by the compiler as an error. What works is to cast the pointer to (lowercase) bool, the builtin type, which engages the compiler's test for "is this pointer NULL?"
Diffstat (limited to 'indra/newview/lltool.h')
0 files changed, 0 insertions, 0 deletions