On 2008/11/20 18:32, Kodest <[EMAIL PROTECTED]> wrote: > The particular problem is that my gcc "finds this casting disgusting": > unsigned long *sample_rate_r = (unsigned long*)&sample_rate; > saying: > warning: dereferencing type-punned pointer will break > strict-aliasing rules
Ah, now I understand. Can you upload a patch for the double cast? Max ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Musicpd-dev-team mailing list Musicpd-dev-team@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team