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

Unified Diff: src/pdf/SkPDFCatalog.cpp

Issue 12480002: Fixing some warnings on Linux (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 9 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: src/pdf/SkPDFCatalog.cpp
===================================================================
--- src/pdf/SkPDFCatalog.cpp (revision 8005)
+++ src/pdf/SkPDFCatalog.cpp (working copy)
@@ -129,7 +129,7 @@
}
for (int i = first; i <= last; i++) {
SkASSERT(fCatalog[i].fFileOffset > 0);
- SkASSERT(fCatalog[i].fFileOffset <= 9999999999LL);
+ SkASSERT(fCatalog[i].fFileOffset < 2147483647);
sugoi 2013/03/06 16:14:59 On 32 bits platforms, off_t is a 32 bits signed in
stream->writeBigDecAsText(fCatalog[i].fFileOffset, 10);
stream->writeText(" 00000 n \n");
}

Powered by Google App Engine
This is Rietveld 408576698