| Index: src/shared/gio/gio_mem_snapshot.c
|
| diff --git a/src/shared/gio/gio_mem_snapshot.c b/src/shared/gio/gio_mem_snapshot.c
|
| index f1f553a386b555ced1195f9caf6947673ad57bb5..ae7b3dceedd49e274cc7f963e6aeddcf196fc5b0 100644
|
| --- a/src/shared/gio/gio_mem_snapshot.c
|
| +++ b/src/shared/gio/gio_mem_snapshot.c
|
| @@ -26,13 +26,13 @@ struct GioVtbl const kGioMemoryFileSnapshotVtbl = {
|
|
|
|
|
| int GioMemoryFileSnapshotCtor(struct GioMemoryFileSnapshot *self,
|
| - char *fn) {
|
| + const char *filename) {
|
| FILE *iop;
|
| struct stat stbuf;
|
| char *buffer;
|
|
|
| ((struct Gio *) self)->vtbl = (struct GioVtbl *) NULL;
|
| - if (0 == (iop = fopen(fn, "rb"))) {
|
| + if (0 == (iop = fopen(filename, "rb"))) {
|
| return 0;
|
| }
|
| if (fstat(fileno(iop), &stbuf) == -1) {
|
|
|