Browse Source

Adjust type of SROpCode to be explicitly sized.

Nikita Lutsenko 4 years ago
parent
commit
a02bac6707
1 changed files with 1 additions and 1 deletions
  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,