2
1
mirror of https://github.com/qpdf/qpdf.git synced 2025-01-03 15:17:29 +00:00

Fixes for clang

This commit is contained in:
Jay Berkenbilt 2018-01-14 19:10:36 -05:00
parent 569d74d36b
commit 04e47deaf9
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@
#include <stdexcept> #include <stdexcept>
#include <string.h> #include <string.h>
#include <limits.h> #include <limits.h>
#include <algorithm>
Pl_PNGFilter::Pl_PNGFilter(char const* identifier, Pipeline* next, Pl_PNGFilter::Pl_PNGFilter(char const* identifier, Pipeline* next,
action_e action, unsigned int columns, action_e action, unsigned int columns,

View File

@ -326,7 +326,7 @@ QUtil::hex_decode(std::string const& input)
} }
else else
{ {
result.back() += ch; result[result.length()-1] += ch;
pos = 0; pos = 0;
} }
} }