Index: src/OFDate.m ================================================================== --- src/OFDate.m +++ src/OFDate.m @@ -90,11 +90,11 @@ @throw [OFOutOfRangeException newWithClass: isa]; \ \ [mutex lock]; \ \ @try { \ - if ((tm = localtime(&sec_)) == NULL) \ + if ((tm = localtime(&seconds_)) == NULL) \ @throw [OFOutOfRangeException newWithClass: isa]; \ \ return tm->field; \ } @finally { \ [mutex unlock]; \ Index: src/OFFile.m ================================================================== --- src/OFFile.m +++ src/OFFile.m @@ -274,11 +274,11 @@ @throw [OFOpenFileFailedException newWithClass: self path: path mode: @"r"]; @try { - OFAutoreleasePool pool2 = [[OFAutoreleasePool alloc] init]; + OFAutoreleasePool *pool2 = [[OFAutoreleasePool alloc] init]; do { OFString *file; if (!strcmp(fd.cFileName, ".") || Index: src/asprintf.m ================================================================== --- src/asprintf.m +++ src/asprintf.m @@ -39,9 +39,9 @@ int ret; va_list arguments; va_start(arguments, format); ret = vasprintf(cString, format, arguments); - va_end(args); + va_end(arguments); return ret; }