Index: extensions/fileio/fileio.cpp
===================================================================
RCS file: /sources/gnash/gnash/extensions/fileio/fileio.cpp,v
retrieving revision 1.10
diff -r1.10 fileio.cpp
320c320
<     Fileio *ptr = (Fileio *)fn.this_ptr;
---
>     Fileio *ptr = (Fileio *)fn.this_ptr.get();
334c334
<     Fileio *ptr = (Fileio *)fn.this_ptr;
---
>     Fileio *ptr = (Fileio *)fn.this_ptr.get();
344c344
<     Fileio *ptr = (Fileio*)fn.this_ptr;
---
>     Fileio *ptr = (Fileio*)fn.this_ptr.get();
360c360
<     Fileio *ptr = (Fileio*)fn.this_ptr;
---
>     Fileio *ptr = (Fileio*)fn.this_ptr.get();
371c371
<     Fileio *ptr = (Fileio*)fn.this_ptr;
---
>     Fileio *ptr = (Fileio*)fn.this_ptr.get();
382c382
<     Fileio *ptr = (Fileio*)fn.this_ptr;
---
>     Fileio *ptr = (Fileio*)fn.this_ptr.get();
395c395
<     Fileio *ptr = (Fileio*)fn.this_ptr;
---
>     Fileio *ptr = (Fileio*)fn.this_ptr.get();
406c406
<     Fileio *ptr = (Fileio*)fn.this_ptr;
---
>     Fileio *ptr = (Fileio*)fn.this_ptr.get();
416c416
<     Fileio *ptr = (Fileio*)fn.this_ptr;
---
>     Fileio *ptr = (Fileio*)fn.this_ptr.get();
426c426
<     Fileio *ptr = (Fileio*)fn.this_ptr;
---
>     Fileio *ptr = (Fileio*)fn.this_ptr.get();
445c445
<     Fileio *ptr = (Fileio*)fn.this_ptr;
---
>     Fileio *ptr = (Fileio*)fn.this_ptr.get();
455c455
<     Fileio *ptr = (Fileio*)fn.this_ptr;
---
>     Fileio *ptr = (Fileio*)fn.this_ptr.get();
464c464
<     Fileio *ptr = (Fileio*)fn.this_ptr;
---
>     Fileio *ptr = (Fileio*)fn.this_ptr.get();
474c474
<     Fileio *ptr = (Fileio*)fn.this_ptr;
---
>     Fileio *ptr = (Fileio*)fn.this_ptr.get();
484c484
<     Fileio *ptr = (Fileio*)fn.this_ptr;
---
>     Fileio *ptr = (Fileio*)fn.this_ptr.get();
498c498
<     Fileio *ptr = (Fileio*)fn.this_ptr;
---
>     Fileio *ptr = (Fileio*)fn.this_ptr.get();
501c501,504
<     ptr->scandir(str, fn.result);
---
>     
>     as_value result;
>     ptr->scandir(str, &result);
>     return result;
