summaryrefslogtreecommitdiff
path: root/core/include/fxcrt/fx_string.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-05-06 16:09:05 -0700
committerTom Sepez <tsepez@chromium.org>2015-05-06 16:09:05 -0700
commit1fd0b107570f41cc6f378794a22d8450f5619665 (patch)
tree49530c12188463db78af07bcee3129249636fd1e /core/include/fxcrt/fx_string.h
parent9ea57a43faeab85a9a431e987ff4c3ba670083a0 (diff)
downloadpdfium-1fd0b107570f41cc6f378794a22d8450f5619665.tar.xz
Manual revert of ad2a822ce5c3
Reason for revert: No longer needed in face of 9ea57a43faea TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/1122423006
Diffstat (limited to 'core/include/fxcrt/fx_string.h')
-rw-r--r--core/include/fxcrt/fx_string.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/include/fxcrt/fx_string.h b/core/include/fxcrt/fx_string.h
index 18cd997ee8..8bb29dabd6 100644
--- a/core/include/fxcrt/fx_string.h
+++ b/core/include/fxcrt/fx_string.h
@@ -87,7 +87,7 @@ public:
CFX_ByteStringC& operator = (const CFX_ByteString& src);
bool operator== (const char* ptr) const {
- return (FX_STRSIZE)FXSYS_strlen(ptr) == m_Length &&
+ return FXSYS_strlen(ptr) == m_Length &&
FXSYS_memcmp32(ptr, m_Ptr, m_Length) == 0;
}
bool operator== (const CFX_ByteStringC& other) const {
@@ -502,7 +502,7 @@ public:
CFX_WideStringC& operator = (const CFX_WideString& src);
bool operator== (const wchar_t* ptr) const {
- return (FX_STRSIZE)FXSYS_wcslen(ptr) == m_Length &&
+ return FXSYS_wcslen(ptr) == m_Length &&
wmemcmp(ptr, m_Ptr, m_Length) == 0;
}
bool operator== (const CFX_WideStringC& str) const {