File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -36,11 +36,11 @@ + (void)packNumber:(NSNumber*)num into:(msgpack_packer*)pk {
36
36
case kCFNumberFloat32Type :
37
37
case kCFNumberFloatType :
38
38
case kCFNumberCGFloatType :
39
- msgpack_pack_int8 (pk, num.floatValue );
39
+ msgpack_pack_float (pk, num.floatValue );
40
40
break ;
41
41
case kCFNumberFloat64Type :
42
42
case kCFNumberDoubleType :
43
- msgpack_pack_int8 (pk, num.doubleValue );
43
+ msgpack_pack_double (pk, num.doubleValue );
44
44
break ;
45
45
case kCFNumberCharType : {
46
46
int theValue = num.intValue ;
Original file line number Diff line number Diff line change 11
11
@interface MessagePackParser : NSObject
12
12
13
13
+ (id )parseData : (NSData *)data ;
14
- + (NSData *)pack : (id )obj ;
15
14
16
15
@end
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ Authors
28
28
29
29
* Sugendran Ganess
30
30
* Chris Hulbert
31
+ * Bugfixes by Matzo: https://github.com/Matzo
31
32
32
33
License
33
34
-------
You can’t perform that action at this time.
0 commit comments