Fix DtMail compilation on Sun with GCC

This commit is contained in:
Matthew R. Trower
2018-06-26 22:47:09 -05:00
committed by Jon Trulson
parent 32eefa310a
commit cd52651a3a

View File

@@ -734,7 +734,7 @@ FindDialog::compareMessage(DtMailMessageHandle handle)
// See if string 'toFind' is anyware in string 'str'. // See if string 'toFind' is anyware in string 'str'.
// A case-insensitive version of strstr(). // A case-insensitive version of strstr().
// //
static const char * const char *
FindDialog::strcasestr(const char *str, const char *toFind) FindDialog::strcasestr(const char *str, const char *toFind)
{ {
const char *result = NULL; // Default to not found. const char *result = NULL; // Default to not found.