[lasem/lasem-0-4] itex2mml: avoid const warning.



commit af0b0b76831fe3cdf8334fd06a39d35bc6e6d877
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 f0a07bb..4e70786 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]