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
ccfe3dc0
"git@developer.sourcefind.cn:OpenDAS/fairscale.git" did not exist on "09028a0d5440c546b8d867a5356399665a09034d"
Commit
ccfe3dc0
authored
Sep 01, 2011
by
Davis King
Browse files
Added cast to avoid compiler warning in visual studio 2010
parent
26681283
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dlib/console_progress_indicator.h
dlib/console_progress_indicator.h
+1
-1
No files found.
dlib/console_progress_indicator.h
View file @
ccfe3dc0
...
...
@@ -131,7 +131,7 @@ namespace dlib
if
(
cur_time
!=
last_time
)
{
last_time
=
cur_time
;
double
delta_t
=
cur_time
-
start_time
;
double
delta_t
=
static_cast
<
double
>
(
cur_time
-
start_time
)
;
double
delta_val
=
std
::
abs
(
cur
-
first_val
);
// don't do anything if cur is equal to first_val
...
...
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