interpolate SCRIBBEL operand
This commit is contained in:
parent
4154149e45
commit
1bd33cbbd0
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue