[AD] -Wwrite-strings and set_window_title()

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


The above combination led me to submit this patch, quoted below and attached.
I'm getting evil with these compiler warnings >:)

Ben

--- include/allegro/inline/system.inl.old       Tue Dec 17 07:25:10 2002
+++ include/allegro/inline/system.inl   Tue Dec 17 07:25:34 2002
@@ -26,7 +26,7 @@
#endif


-AL_INLINE(void, set_window_title, (char *name),
+AL_INLINE(void, set_window_title, (AL_CONST char *name),
{
   ASSERT(system_driver);

_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail

Attachment: system.inl.diff
Description: Binary data



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/