theunreplicated / nvidia-widgets

Automatically exported from code.google.com/p/nvidia-widgets
0 stars 0 forks source link

It doesn't compile on 64-bit Mac OS X Snow Leopard #9

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Try to compile this library. 

What is the expected output? What do you see instead?

It should compile but it doesn't... 

The error is in the 3rd line of the this function void 
GLUIPainter::drawTextureView()

This line doesn't compile. Because GLunit is 32-bit but texID is a const void* 
which is 64-bit on a  
64-bit machine. And the compiler will report an error here. 

GLuint lTexID = reinterpret_cast<GLuint> ( texID );

What version of the product are you using? On what operating system?
Snow Leopard

Please provide any additional information below.

N/A

Original issue reported on code.google.com by Huahang.Liu@gmail.com on 31 Aug 2009 at 8:28

GoogleCodeExporter commented 8 years ago
This bug has been fixed already.

Original comment by cast...@gmail.com on 31 Aug 2009 at 4:48