Allow callers to supply string literals (i.e., const char *s') to

function getField() and still build the API relatively warning free.
This commit is contained in:
Bård Skaflestad committed 2010-08-10 07:27:55 +00:00
1 parent 1a67fbaa6a
commit 765e68032e
1 file changed
+1 -1
+1 -1
View File
@@ -4,7 +4,7 @@
/* ------------------------------------------------------------------ */
static mxArray*
getField(const mxArray *a, char *field, char *subfield)
getField(const mxArray *a, const char *field, const char *subfield)
/* ------------------------------------------------------------------ */
{
if (subfield)