Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(288)

Unified Diff: speech_synthesizer_service.cc

Issue 6812006: Enable -Wall -Werror and fix 2 compile-errors it would introduce. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/speech_synthesis.git@master
Patch Set: Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « earcon_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: speech_synthesizer_service.cc
diff --git a/speech_synthesizer_service.cc b/speech_synthesizer_service.cc
index 3271fcd6b71aba2485f1c588f7609acef3c28f96..9ff7197dca68977101072697e4704926e62e5d2c 100644
--- a/speech_synthesizer_service.cc
+++ b/speech_synthesizer_service.cc
@@ -122,7 +122,7 @@ gboolean SpeechSynthesizerService::AddProperties(gchar *properties) {
}
string token = "";
while(1) {
- int sep = props.find(";");
+ unsigned int sep = props.find(";");
if (sep == string::npos) {
token = props;
} else {
« no previous file with comments | « earcon_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698