diff options
-rw-r--r-- | src/imageutils-macosx.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imageutils-macosx.cc b/src/imageutils-macosx.cc index 9f33ea0..e3a1983 100644 --- a/src/imageutils-macosx.cc +++ b/src/imageutils-macosx.cc @@ -54,7 +54,7 @@ bool write_png(std::ostream &output, unsigned char *pixels, int width, int heigh /* CFStringRef fname = CFStringCreateWithCString(kCFAllocatorDefault, filename, kCFStringEncodingUTF8); CFURLRef fileURL = CFURLCreateWithFileSystemPath(kCFAllocatorDefault, - fname, kCFURLPOSIXPathStyle, false); + fname, kCFURLPOSIXPathStyle, false); if (!fileURL) { std::cerr << "Unable to create file URL ref."; return false; |