diff options
author | Wouter van Oortmerssen <aardappel@gmail.com> | 2021-11-18 09:41:44 -0800 |
---|---|---|
committer | Wouter van Oortmerssen <aardappel@gmail.com> | 2021-11-18 09:41:44 -0800 |
commit | a9c341545f5248753a9a98c478794328b5ed1b0e (patch) | |
tree | 8a2741130c2dd9c269261da83042aace869ed004 /grpc | |
parent | 8aa18b629163d8c878fe0b8aba743cd554ec37ca (diff) | |
download | flatbuffers-a9c341545f5248753a9a98c478794328b5ed1b0e.tar.gz flatbuffers-a9c341545f5248753a9a98c478794328b5ed1b0e.tar.bz2 flatbuffers-a9c341545f5248753a9a98c478794328b5ed1b0e.zip |
Fix integer overflow warnings
Diffstat (limited to 'grpc')
-rw-r--r-- | grpc/src/compiler/schema_interface.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grpc/src/compiler/schema_interface.h b/grpc/src/compiler/schema_interface.h index 04494981..9804e641 100644 --- a/grpc/src/compiler/schema_interface.h +++ b/grpc/src/compiler/schema_interface.h @@ -93,7 +93,7 @@ struct Printer { virtual void Print(const std::map<grpc::string, grpc::string> &vars, const char *template_string) = 0; virtual void Print(const char *string) = 0; - virtual void SetIndentationSize(const int size) = 0; + virtual void SetIndentationSize(const size_t size) = 0; virtual void Indent() = 0; virtual void Outdent() = 0; }; |