Index: src/core/SkStream.cpp |
diff --git a/src/core/SkStream.cpp b/src/core/SkStream.cpp |
index 20e2ae965285acc1d674a6035b7f79d4ff3c5946..05867d91bfe53191ce65e15de1dc8d23d49a9c5a 100644 |
--- a/src/core/SkStream.cpp |
+++ b/src/core/SkStream.cpp |
@@ -185,7 +185,7 @@ SkFILEStream::SkFILEStream(const char file[]) : fName(file), fOwnership(kCallerP |
} |
SkFILEStream::SkFILEStream(FILE* file, Ownership ownership) |
- : fFILE((SkFILE*)file) |
+ : fFILE(file) |
, fOwnership(ownership) { |
} |
@@ -850,7 +850,7 @@ bool SkDebugWStream::write(const void* buffer, size_t size) |
static SkData* mmap_filename(const char path[]) { |
- SkFILE* file = sk_fopen(path, kRead_SkFILE_Flag); |
+ FILE* file = sk_fopen(path, kRead_SkFILE_Flag); |
if (nullptr == file) { |
return nullptr; |
} |