mirror of
https://github.com/samsonjs/Marshmallows.git
synced 2026-03-25 09:05:52 +00:00
fix warnings
This commit is contained in:
parent
1cfd5bd45c
commit
d3436be10a
2 changed files with 2 additions and 2 deletions
|
|
@ -280,7 +280,7 @@ NSString *JoinURLComponents(NSString *first, va_list args)
|
|||
}
|
||||
NSUInteger timeout = [[options objectForKey: @"timeout"] unsignedIntValue];
|
||||
if (timeout == 0) {
|
||||
[mutableOptions setValue: [NSNumber numberWithUnsignedInt: self.timeout] forKey: @"timeout"];
|
||||
[mutableOptions setValue: [NSNumber numberWithUnsignedLong: self.timeout] forKey: @"timeout"];
|
||||
}
|
||||
options = [NSDictionary dictionaryWithDictionary: mutableOptions];
|
||||
return [MMHTTPRequest requestWithOptions: options callback: callback];
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
#import <Foundation/Foundation.h>
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
typedef void (^UIAlertViewCallback)(int buttonClicked, BOOL canceled);
|
||||
typedef void (^UIAlertViewCallback)(long buttonClicked, BOOL canceled);
|
||||
|
||||
@interface UIAlertViewDelegate : NSObject <UIAlertViewDelegate>
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue