Irrlicht.NET Wrapper : WindowId : reinterpret_cast<irr::s

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
flipnode
Posts: 15
Joined: Thu Jul 27, 2006 1:24 am

Irrlicht.NET Wrapper : WindowId : reinterpret_cast<irr::s

Post by flipnode »

In the file Irrlicht.NET.cpp

line 66:

Code: Select all

p.WindowId = reinterpret_cast<irr::s32>((void*)windowHandle);
should be:??

Code: Select all

p.WindowId = (void*)windowHandle;
If the change isn't made, then a compile error is given

Code: Select all

Error	1	error C2440: '=' : cannot convert from 'irr::s32' to 'void *'	c:\Documents and Settings\Administrator\Desktop\Irrlicht BR Source\trunk\source\Irrlicht.NET\Irrlicht.NET.cpp	66
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Yes, I've changed the pointer to become a real pointer now. But since I do not touch the .net wrapper it remained unchanged. Just change it, I guess someone will take care of this in SVN.
flipnode
Posts: 15
Joined: Thu Jul 27, 2006 1:24 am

SVN write acess

Post by flipnode »

How do I gain access to the SVN repository (Write).
mispunt
Posts: 15
Joined: Fri Jan 07, 2005 6:01 pm

Post by mispunt »

get a sourceforge account and ask nicely to the project admin(s)
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

There is a patch tracker on the SourceForge project page where you can sent your patches to. Or just give some link here, or just put the code here (if it is not too much). If acceptable code exists there are enough people to commit your changes, you do not need write access.
Post Reply