From c133ae3b7d7f780d440b74dabe36cff355d9e30c Mon Sep 17 00:00:00 2001 From: don bright Date: Sat, 26 Jan 2013 23:07:51 +0100 Subject: cleanup macosx code again 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; -- cgit v0.10.1