[lasem] itex2mml: avoid const warning.



commit ff0dbe944b63402266340d3c5af58fcf3c9cc086
Author: Emmanuel Pacaud <emmanuel gnome org>
Date:   Sun Jan 6 18:48:52 2013 +0100

    itex2mml: avoid const warning.
    
    itex2mml free_string function takes care to not free
    a string pointing to itex2MML_empty_string.

 itex2mml/itex2MML.y |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/itex2mml/itex2MML.y b/itex2mml/itex2MML.y
index a0c3ac5..96520d8 100644
--- a/itex2mml/itex2MML.y
+++ b/itex2mml/itex2MML.y
@@ -121,7 +121,7 @@
     void (*itex2MML_write_mathml) (const char * mathml) = itex2MML_default_write_mathml;
 #endif 
 
- char * itex2MML_empty_string = "";
+ char * itex2MML_empty_string = (char *) "";
 
  /* Create a copy of a string, adding space for extra chars
   */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]