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

Unified Diff: core/src/fxcodec/jbig2/JBig2_HuffmanTable.h

Issue 1356373003: Fix a bunch of sign mismatch warnings. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: Created 5 years, 3 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: core/src/fxcodec/jbig2/JBig2_HuffmanTable.h
diff --git a/core/src/fxcodec/jbig2/JBig2_HuffmanTable.h b/core/src/fxcodec/jbig2/JBig2_HuffmanTable.h
index 7c843cf91bd64d2173c9bf0a3e0456cf959d8ce0..fe8294dc7eee029ffe4f9a660d7dd217a9476c37 100644
--- a/core/src/fxcodec/jbig2/JBig2_HuffmanTable.h
+++ b/core/src/fxcodec/jbig2/JBig2_HuffmanTable.h
@@ -14,7 +14,7 @@ class CJBig2_HuffmanTable {
public:
CJBig2_HuffmanTable(const JBig2TableLine* pTable, int nLines, FX_BOOL bHTOOB);
- CJBig2_HuffmanTable(CJBig2_BitStream* pStream);
+ explicit CJBig2_HuffmanTable(CJBig2_BitStream* pStream);
~CJBig2_HuffmanTable();
@@ -24,13 +24,13 @@ class CJBig2_HuffmanTable {
int parseFromCodedBuffer(CJBig2_BitStream* pStream);
- FX_BOOL isOK() { return m_bOK; }
+ FX_BOOL isOK() const { return m_bOK; }
private:
void init();
FX_BOOL HTOOB;
- int NTEMP;
+ FX_DWORD NTEMP;
int* CODES;
int* PREFLEN;
int* RANGELEN;

Powered by Google App Engine
This is Rietveld 408576698