16 lines
613 B
Text
16 lines
613 B
Text
$NetBSD: patch-lib_TChDirDialog_cc,v 1.1 2012/06/28 05:35:33 dholland Exp $
|
|
|
|
Silence gcc pointer cast warnings. These have been checked to be
|
|
harmless.
|
|
|
|
--- lib/TChDirDialog.cc~ 2001-09-22 19:19:23.000000000 +0000
|
|
+++ lib/TChDirDialog.cc
|
|
@@ -104,7 +104,7 @@ void TChDirDialog::handleEvent( TEvent&
|
|
//!! Handle directory selection.
|
|
case cmDirSelection:
|
|
chDirButton->makeDefault( Boolean( int(
|
|
- event.message.infoPtr ) ) );
|
|
+ (intptr_t)event.message.infoPtr ) ) );
|
|
return; // NOTE: THIS IS RETURN NOT BREAK!!
|
|
#endif
|
|
default:
|