diff --git a/src/objective-c/GRPCClient/GRPCTypes.h b/src/objective-c/GRPCClient/GRPCTypes.h index 812f3460f75..8a82fc3728d 100644 --- a/src/objective-c/GRPCClient/GRPCTypes.h +++ b/src/objective-c/GRPCClient/GRPCTypes.h @@ -23,7 +23,7 @@ * Note that a few of these are never produced by the gRPC libraries, but are of * general utility for server applications to produce. */ -typedef NS_ENUM(NSUInteger, GRPCErrorCode) { +typedef NS_ENUM(int32_t, GRPCErrorCode) { /** The operation was cancelled (typically by the caller). */ GRPCErrorCodeCancelled = 1,