Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
aom-rav1e
Commits
000d196b
Commit
000d196b
authored
Nov 29, 2017
by
Yaowu Xu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Properly upgrade int before operation
Change-Id: Ibca63a41bdffaab2ee603497e8a5fc66d5b7d11f
parent
40e597fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
aom_ports/aom_timer.h
aom_ports/aom_timer.h
+1
-1
No files found.
aom_ports/aom_timer.h
View file @
000d196b
...
...
@@ -82,7 +82,7 @@ static INLINE int64_t aom_usec_timer_elapsed(struct aom_usec_timer *t) {
struct
timeval
diff
;
timersub
(
&
t
->
end
,
&
t
->
begin
,
&
diff
);
return
(
int64_t
)
diff
.
tv_sec
*
1000000
+
diff
.
tv_usec
;
return
(
(
int64_t
)
diff
.
tv_sec
)
*
1000000
+
diff
.
tv_usec
;
#endif
}
...
...
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