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

Unified Diff: import/cross/tar_processor.cc

Issue 159168: This fixes a number of things that are warnings in the Mac compiler.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
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
Index: import/cross/tar_processor.cc
===================================================================
--- import/cross/tar_processor.cc (revision 21208)
+++ import/cross/tar_processor.cc (working copy)
@@ -62,9 +62,9 @@
if (header_bytes_read_ == TAR_HEADER_SIZE) {
const char *filename = (const char *)header_;
- // The tar format stupidly represents size_teger values as
+ // The tar format stupidly represents size_t integer values as
// octal strings!!
- size_t file_size = 0;
+ unsigned int file_size = 0u;
sscanf(header_ + 124, "%o", &file_size);
// Only callback client if this is a "real" header

Powered by Google App Engine
This is Rietveld 408576698