aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorStuart Connolly <stuart02@gmail.com>2013-11-24 16:57:49 +0000
committerStuart Connolly <stuart02@gmail.com>2013-11-24 16:57:49 +0000
commitce445a0db3e25186d3778fa0f1083a6f96b4e72c (patch)
tree776773a8a9c5ff3d864c5b3a1d7eb20b13f21d34 /Source
parente023e511639e2b4a9b623c14cb765247224232e4 (diff)
downloadsequelpro-ce445a0db3e25186d3778fa0f1083a6f96b4e72c.tar.gz
sequelpro-ce445a0db3e25186d3778fa0f1083a6f96b4e72c.tar.bz2
sequelpro-ce445a0db3e25186d3778fa0f1083a6f96b4e72c.zip
Fix warning.
Diffstat (limited to 'Source')
-rw-r--r--Source/SPLogger.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPLogger.m b/Source/SPLogger.m
index 9d3b5d69..3bba8421 100644
--- a/Source/SPLogger.m
+++ b/Source/SPLogger.m
@@ -45,7 +45,7 @@ static SPLogger *logger = nil;
- (void)_initLogFile;
- (void)_outputTimeString;
-int _isSPLeaksLog(struct direct *entry);
+int _isSPLeaksLog(const struct direct *entry);
@end
@@ -253,7 +253,7 @@ int _isSPLeaksLog(struct direct *entry);
[logFileHandle writeData:[[NSString stringWithFormat:@"Launched at %@\n\n", [[NSDate date] description]] dataUsingEncoding:NSUTF8StringEncoding]];
}
-int _isSPLeaksLog(struct direct *entry)
+int _isSPLeaksLog(const struct direct *entry)
{
return (strstr(entry->d_name, "sp.leaks") != NULL);
}