Re: Multi-threaded GUI
- From: Paul Davis <paul linuxaudiosystems com>
- To: Paul Davis <pjdavis engineering uiowa edu>
- Cc: gtk-list gnome org
- Subject: Re: Multi-threaded GUI
- Date: Thu, 05 Oct 2006 08:01:25 -0400
On Thu, 2006-10-05 at 01:58 -0500, Paul Davis wrote:
> void* jump_start( void* myclass_this_ptr )
> {
> MyClass* obj = dynamic_cast< MyClass* >( myclass_this_ptr ) ;
this should be: static_cast<MyClass*>, not dynamic_cast. dynamic_cast is
used to traverse inheritance trees, not convert from one pointer type to
another.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]