Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
fuchsia.googlesource.com-third_party-flatbuffers
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
fuchsia-mirror
fuchsia.googlesource.com-third_party-flatbuffers
Commits
4bc4979a
Commit
4bc4979a
authored
8 years ago
by
Wouter van Oortmerssen
Browse files
Options
Downloads
Patches
Plain Diff
Fix compiler warning on Visual Studio.
Change-Id: Ifda5f2c32c6484508d5e12a463d6373798f1f523
parent
b095367d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
grpc/src/compiler/go_generator.cc
+2
-2
2 additions, 2 deletions
grpc/src/compiler/go_generator.cc
with
2 additions
and
2 deletions
grpc/src/compiler/go_generator.cc
+
2
−
2
View file @
4bc4979a
...
...
@@ -50,7 +50,7 @@ namespace grpc_go_generator {
grpc
::
string
unexportName
(
grpc
::
string
s
)
{
if
(
s
.
empty
())
return
s
;
s
[
0
]
=
std
::
tolower
(
s
[
0
]);
s
[
0
]
=
static_cast
<
char
>
(
std
::
tolower
(
s
[
0
])
)
;
return
s
;
}
...
...
@@ -58,7 +58,7 @@ grpc::string unexportName(grpc::string s) {
grpc
::
string
exportName
(
grpc
::
string
s
)
{
if
(
s
.
empty
())
return
s
;
s
[
0
]
=
std
::
toupper
(
s
[
0
]);
s
[
0
]
=
static_cast
<
char
>
(
std
::
toupper
(
s
[
0
])
)
;
return
s
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment