On Wed, Oct 29, 2014 at 4:46 PM, Jose Fonseca <[email protected]> wrote:
>> Don't cast malloc.
>
> I did it out of habit, as these casts are required on C++ code (or one you'd 
> get "error: invalid conversion from ‘void*’ to ‘GLfloat*’").

Yep. It's a tell of a C++ programmer. :)

Along with preincrementing the iterator in a for loop, even if it's
just an int. :)
_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to