From 6e376202fca5c4f77645ba0eeee56ef3c44615a3 Mon Sep 17 00:00:00 2001 From: Ryan Harrison Date: Thu, 28 Sep 2017 10:51:02 -0400 Subject: Remove no-op cast Change-Id: I2427e29291218a7b004591673bd5281f23f1284a Reviewed-on: https://pdfium-review.googlesource.com/15091 Reviewed-by: Henrique Nakashima Commit-Queue: Ryan Harrison --- core/fpdfapi/edit/cpdf_creator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/fpdfapi/edit') diff --git a/core/fpdfapi/edit/cpdf_creator.cpp b/core/fpdfapi/edit/cpdf_creator.cpp index 5f209a634f..06ffa5a87c 100644 --- a/core/fpdfapi/edit/cpdf_creator.cpp +++ b/core/fpdfapi/edit/cpdf_creator.cpp @@ -102,7 +102,7 @@ bool CFX_FileBufferArchive::WriteByte(uint8_t byte) { bool CFX_FileBufferArchive::WriteDWord(uint32_t i) { char buf[32]; FXSYS_itoa(i, buf, 10); - return WriteBlock(buf, static_cast(strlen(buf))); + return WriteBlock(buf, strlen(buf)); } bool CFX_FileBufferArchive::WriteString(const ByteStringView& str) { -- cgit v1.2.3