From: Peter Howkins Date: Sun, 11 Mar 2012 23:51:05 +0000 (+0000) Subject: Linux also needs cast to char * of NULL X-Git-Tag: 2.2.0a~26^2~133 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e8fe4970ebefc8c67e47d4bc79784d19af03a990;p=oweals%2Fcde.git Linux also needs cast to char * of NULL --- diff --git a/cde/lib/tt/lib/util/tt_entry_pt.C b/cde/lib/tt/lib/util/tt_entry_pt.C index 63946832..9f70aa4a 100644 --- a/cde/lib/tt/lib/util/tt_entry_pt.C +++ b/cde/lib/tt/lib/util/tt_entry_pt.C @@ -449,7 +449,7 @@ _Tt_string _tt_entrypt_to_string(_Tt_entry_pt fun) return "tt_feature_enabled"; case TT_FEATURE_REQUIRED : return "tt_feature_required"; -#ifdef __osf__ +#if defined(__osf__) || defined(linux) case TT_API_CALL_LAST: return (char *) NULL; #else case TT_API_CALL_LAST: return NULL;