OSDN Git Service
(root)
/
winmerge-jp
/
winmerge-jp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01e9c08
)
Cppcheck: C-style pointer casting
author
Takashi Sawanaka
<sdottaka@users.sourceforge.net>
Thu, 18 Aug 2016 13:17:50 +0000
(22:17 +0900)
committer
Takashi Sawanaka
<sdottaka@users.sourceforge.net>
Thu, 18 Aug 2016 13:17:50 +0000
(22:17 +0900)
src/image.hpp
patch
|
blob
|
history
diff --git
a/src/image.hpp
b/src/image.hpp
index
0b19aab
..
21f6ada
100644
(file)
--- a/
src/image.hpp
+++ b/
src/image.hpp
@@
-39,7
+39,7
@@
public:
{
\r
if (this != &Image)
\r
{
\r
- FIBITMAP *clone = FreeImage_Clone(
(FIBITMAP*)Image._dib
);
\r
+ FIBITMAP *clone = FreeImage_Clone(
static_cast<FIBITMAP*>(Image._dib)
);
\r
if (clone)
\r
{
\r
replace(clone);
\r