Explorar o código

Adjust type of SROpCode to be explicitly sized.

Nikita Lutsenko %!s(int64=4) %!d(string=hai) anos
pai
achega
a02bac6707
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      SocketRocket/Internal/SRConstants.h

+ 1 - 1
SocketRocket/Internal/SRConstants.h

@@ -9,7 +9,7 @@
 
 #import <Foundation/Foundation.h>
 
-typedef NS_ENUM(NSInteger, SROpCode)
+typedef NS_ENUM(uint8_t, SROpCode)
 {
     SROpCodeTextFrame = 0x1,
     SROpCodeBinaryFrame = 0x2,