diff --git a/SUBinaryDeltaCommon.m b/SUBinaryDeltaCommon.m index cb7a373c..acb481cf 100644 --- a/SUBinaryDeltaCommon.m +++ b/SUBinaryDeltaCommon.m @@ -43,7 +43,7 @@ NSString *temporaryFilename(NSString *base) NSString *template = [NSTemporaryDirectory() stringByAppendingPathComponent:[NSString stringWithFormat:@"%@.XXXXXXXXXX", base]]; char buffer[MAXPATHLEN]; strcpy(buffer, [template fileSystemRepresentation]); - return [NSString stringWithUTF8String:mkstemp(buffer)]; + return [NSString stringWithUTF8String:mktemp(buffer)]; } static void _hashOfBuffer(unsigned char *hash, const char* buffer, size_t bufferLength)