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

Unified Diff: courgette/ensemble_apply.cc

Issue 149597: Code changes to get the code to compile under GCC.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 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 | « courgette/encoded_program_unittest.cc ('k') | courgette/image_info_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: courgette/ensemble_apply.cc
===================================================================
--- courgette/ensemble_apply.cc (revision 21002)
+++ courgette/ensemble_apply.cc (working copy)
@@ -351,9 +351,9 @@
return C_OK;
}
-Status ApplyEnsemblePatch(const wchar_t* old_file_name,
- const wchar_t* patch_file_name,
- const wchar_t* new_file_name) {
+Status ApplyEnsemblePatch(const FilePath::CharType* old_file_name,
+ const FilePath::CharType* patch_file_name,
+ const FilePath::CharType* new_file_name) {
Status status;
// First read enough of the patch file to validate the header is well-formed.
@@ -403,7 +403,7 @@
new_sink_stream.Length());
if (written == -1)
return C_WRITE_OPEN_ERROR;
- if (written != new_sink_stream.Length())
+ if (static_cast<size_t>(written) != new_sink_stream.Length())
return C_WRITE_ERROR;
return C_OK;
Property changes on: courgette/ensemble_apply.cc
___________________________________________________________________
Name: svn:eol-style
+ LF
« no previous file with comments | « courgette/encoded_program_unittest.cc ('k') | courgette/image_info_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698