Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
119ce9e8
Commit
119ce9e8
authored
Jun 03, 2015
by
Davis King
Browse files
A minor change to avoid a compiler warning
parent
6527b76a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dlib/gui_widgets/widgets.cpp
dlib/gui_widgets/widgets.cpp
+1
-1
No files found.
dlib/gui_widgets/widgets.cpp
View file @
119ce9e8
...
...
@@ -5800,7 +5800,7 @@ namespace dlib
const
canvas
&
c
)
const
{
if
(
depth
.
nr
()
<
c
.
height
()
||
depth
.
nc
()
<
c
.
width
())
if
(
depth
.
nr
()
<
(
long
)
c
.
height
()
||
depth
.
nc
()
<
(
long
)
c
.
width
())
depth
.
set_size
(
c
.
height
(),
c
.
width
());
assign_all_pixels
(
depth
,
std
::
numeric_limits
<
float
>::
infinity
());
...
...
Write
Preview
Markdown
is supported
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