Commit 2d02b3cc3dc9c5e933f8ae2ccea03a5e1148c3d6

Authored by Jay Berkenbilt
1 parent 8e636ea6

Add explicit int to double cast

Showing 1 changed file with 1 additions and 1 deletions
libqpdf/QPDFObjectHandle.cc
... ... @@ -164,7 +164,7 @@ QPDFObjectHandle::getNumericValue()
164 164 double result = 0.0;
165 165 if (isInteger())
166 166 {
167   - result = getIntValue();
  167 + result = static_cast<double>(getIntValue());
168 168 }
169 169 else if (isReal())
170 170 {
... ...