X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=lib%2Fdevices%2Ffile.c;h=288a0a7691d88ec9da5e9104c490ce2e5d456ba9;hb=b45b5defe54796c142c1527cff5f31bc0b572d08;hp=70d1979b6a4b70cc3c069b509d81d84804411732;hpb=b93de056e0b79f57c8f8fe22985b166c7d2c3dc3;p=swftools.git diff --git a/lib/devices/file.c b/lib/devices/file.c index 70d1979..288a0a7 100644 --- a/lib/devices/file.c +++ b/lib/devices/file.c @@ -138,7 +138,7 @@ void fileresult_destroy(struct _gfxresult*gfx) free(i->filename);i->filename = 0; } -int fileresult_save(struct _gfxresult*gfx, char*filename) +int fileresult_save(struct _gfxresult*gfx, const char*filename) { gfxresult_internal_t*i = (gfxresult_internal_t*)gfx->internal; FILE*fi,*fo; @@ -168,7 +168,7 @@ int fileresult_save(struct _gfxresult*gfx, char*filename) return 0; } -void* fileresult_get(struct _gfxresult*gfx, char*name) +void* fileresult_get(struct _gfxresult*gfx, const char*name) { return 0; }