On 5/23/07, Christian Ohm <[EMAIL PROTECTED]> wrote:
> Some g++ fixes again.

Most of these are good, but do we need "fixes" of this kind?:

-       buffer = malloc(bufferSize + sizeof(soundDataBuffer));
+       buffer = (soundDataBuffer*) malloc(bufferSize +
sizeof(soundDataBuffer));

Please just use -fpermissive, or something, and don't clutter the code
with useless (and hard to maintain properly) casts like this. It is
not good C coding practice.

  - Per

_______________________________________________
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev

Reply via email to