interpolate SCRIBBEL operand

This commit is contained in:
D.E. Akers 2015-08-14 19:44:38 -04:00
parent 4154149e45
commit 1bd33cbbd0
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,7 @@ ReturnObject *fwriteWrapper(struct scopeobject *scope)
ValueObject *arg1 = getArg(scope, "file");
ValueObject *arg2 = getArg(scope, "data");
FILE *file = (FILE *)getBlob(arg1);
char *data = getString(arg2);
char *data = getString(castStringExplicit(arg2, scope));
fwrite(data, 1, strlen(data), file);