aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPStringAdditions.h
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2009-09-01 23:09:21 +0000
committerrowanbeentje <rowan@beent.je>2009-09-01 23:09:21 +0000
commit1a6b920d5982840a405a6a53e0c3928b79066a9b (patch)
tree1c228187e9f5bfe66681578aebb9fe9526999ffe /Source/SPStringAdditions.h
parentc193919cacda828749f7a25cded79bf0ab870190 (diff)
downloadsequelpro-1a6b920d5982840a405a6a53e0c3928b79066a9b.tar.gz
sequelpro-1a6b920d5982840a405a6a53e0c3928b79066a9b.tar.bz2
sequelpro-1a6b920d5982840a405a6a53e0c3928b79066a9b.zip
- Use long longs instead of ints when looking at table sizes, free space, and row counts for display, fixing overflow issues (this addresses Issue #394)
- Tweak the byte size formatter to also show TBs for very large numbers - Improve row count and auto increment value formatting by using a number formatter (enhancements for Issue #394)
Diffstat (limited to 'Source/SPStringAdditions.h')
-rw-r--r--Source/SPStringAdditions.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPStringAdditions.h b/Source/SPStringAdditions.h
index 6ee941c2..8ae44b38 100644
--- a/Source/SPStringAdditions.h
+++ b/Source/SPStringAdditions.h
@@ -40,7 +40,7 @@ static inline const char* NSStringUTF8String(NSString* self) {
@interface NSString (SPStringAdditions)
-+ (NSString *)stringForByteSize:(int)byteSize;
++ (NSString *)stringForByteSize:(long long)byteSize;
+ (NSString *)stringForTimeInterval:(float)timeInterval;
- (NSString *)backtickQuotedString;