From 19505f02ba7eefc47804242b772cb5aa8d7eb296 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Fri, 21 Mar 2008 18:08:52 +0000 Subject: [PATCH] *** empty log message *** --- Common/StringUtils.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Common/StringUtils.cpp b/Common/StringUtils.cpp index 04d1187e20..971b4c33de 100644 --- a/Common/StringUtils.cpp +++ b/Common/StringUtils.cpp @@ -1,4 +1,4 @@ -// $Id: StringUtils.cpp,v 1.2 2008-03-20 11:44:02 geuzaine Exp $ +// $Id: StringUtils.cpp,v 1.3 2008-03-21 18:08:52 geuzaine Exp $ // // Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle // @@ -35,7 +35,7 @@ void swapBytes(char *array, int size, int n) std::string extractDoubleQuotedString(const char *str, int len) { - char *c = strstr(str, "\""); + char *c = strstr((char*)str, "\""); if(!c) return ""; std::string ret; for(int i = 1; i < len; i++) { @@ -45,7 +45,6 @@ std::string extractDoubleQuotedString(const char *str, int len) return ret; } - std::string sanitizeTeXString(const char *in, int equation) { // if there is a '$' or a '\' in the string, assume the author knows -- GitLab