Merge pull request #28 from 0x0dea/interpolate-scribbel

interpolate SCRIBBEL operand
This commit is contained in:
Justin J. Meza 2015-08-30 15:37:06 -07:00
commit afdd225208
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);