Correct Andrew's error.

This commit is contained in:
chtong 2003-03-25 00:20:30 +00:00
parent b6c0e3c10d
commit b82a900427

View File

@ -2142,5 +2142,5 @@ char *mm_typecode_to_str(MM_typecode matcode)
return NULL;
sprintf(buffer,"%s %s %s %s", types[0], types[1], types[2], types[3]);
return strdup(buffer);
return (char *) strdup(buffer);
}