Blame SOURCES/gcc44.patch
|
|
23ca74 |
diff -up festival/speech_tools/speech_class/EST_wave_io.cc.gcc44 festival/speech_tools/speech_class/EST_wave_io.cc
|
|
|
23ca74 |
--- festival/speech_tools/speech_class/EST_wave_io.cc.gcc44 2009-02-26 17:26:58.672421948 -0500
|
|
|
23ca74 |
+++ festival/speech_tools/speech_class/EST_wave_io.cc 2009-02-26 17:50:02.065661124 -0500
|
|
|
23ca74 |
@@ -68,7 +68,7 @@ static const char *NIST_END_SIG = "end_h
|
|
|
23ca74 |
|
|
|
23ca74 |
int nist_get_param_int(const char *hdr, const char *field, int def_val)
|
|
|
23ca74 |
{
|
|
|
23ca74 |
- char *p;
|
|
|
23ca74 |
+ const char *p;
|
|
|
23ca74 |
int val;
|
|
|
23ca74 |
|
|
|
23ca74 |
if (((p=strstr(hdr,field)) != NULL) &&
|
|
|
23ca74 |
@@ -84,7 +84,8 @@ int nist_get_param_int(const char *hdr,
|
|
|
23ca74 |
|
|
|
23ca74 |
char *nist_get_param_str(const char *hdr, const char *field, const char *def_val)
|
|
|
23ca74 |
{
|
|
|
23ca74 |
- char *p,*val;
|
|
|
23ca74 |
+ const char *p;
|
|
|
23ca74 |
+ char *val;
|
|
|
23ca74 |
int size;
|
|
|
23ca74 |
|
|
|
23ca74 |
if (((p=strstr(hdr,field)) != NULL) &&
|