OpenSystemsDevelopment
/
qpdf
Toggle navigation
Sign in
Sign in
Project
Files
Commits
Network
Graphs
Milestones
Issues
0
Merge Requests
0
Labels
Wiki
Download as
Email Patches
Plain Diff
Browse Code ยป
Commit
2d02b3cc3dc9c5e933f8ae2ccea03a5e1148c3d6
Authored by
Jay Berkenbilt
2013-04-04 14:13:31 -0400
1 parent
8e636ea6
Add explicit int to double cast
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
libqpdf/QPDFObjectHandle.cc
libqpdf/QPDFObjectHandle.cc
View file @
2d02b3c
...
...
@@ -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
{
...
...