summaryrefslogtreecommitdiff
path: root/grpc
diff options
context:
space:
mode:
authorWouter van Oortmerssen <aardappel@gmail.com>2021-11-18 09:41:44 -0800
committerWouter van Oortmerssen <aardappel@gmail.com>2021-11-18 09:41:44 -0800
commita9c341545f5248753a9a98c478794328b5ed1b0e (patch)
tree8a2741130c2dd9c269261da83042aace869ed004 /grpc
parent8aa18b629163d8c878fe0b8aba743cd554ec37ca (diff)
downloadflatbuffers-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.h2
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;
};