Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Michael Migliore
VTK
Commits
0187c390
Commit
0187c390
authored
Sep 08, 2016
by
Utkarsh Ayachit
⛰
Browse files
Fix #16833. Fix type conversion warning.
parent
d5014921
Changes
1
Hide whitespace changes
Inline
Side-by-side
Rendering/LIC/vtkSurfaceLICPainter.cxx
View file @
0187c390
...
...
@@ -779,11 +779,12 @@ vtkImageData *vtkGetNoiseResource()
unsigned
char
*
binaryInput
=
new
unsigned
char
[
file_noise200x200_vtk_decoded_length
+
10
];
unsigned
long
binarylength
=
vtkBase64Utilities
::
DecodeSafely
(
unsigned
long
binarylength
=
static_cast
<
unsigned
long
>
(
vtkBase64Utilities
::
DecodeSafely
(
reinterpret_cast
<
const
unsigned
char
*>
(
base64string
.
c_str
()),
base64string
.
length
(),
binaryInput
,
file_noise200x200_vtk_decoded_length
+
10
);
file_noise200x200_vtk_decoded_length
+
10
)
)
;
assert
(
"check valid_length"
&&
(
binarylength
==
file_noise200x200_vtk_decoded_length
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment