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
464600ba
Commit
464600ba
authored
Nov 28, 2017
by
Yaowu Xu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upgrade to int64_t to avoid out of range
Change-Id: Ic4719c70567b9a9faef15b3d09ebe920750aa19e
parent
fd8c78c4
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 @
464600ba
...
...
@@ -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
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