Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC DEL 1ns 4cha - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
FMC DEL 1ns 4cha - Software
Commits
5550cbc6
Commit
5550cbc6
authored
Apr 01, 2014
by
Tomasz Wlostowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lib: fix carry bug in fdelay_add_ps()
parent
abce15f8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
fdelay-output.c
lib/fdelay-output.c
+1
-1
No files found.
lib/fdelay-output.c
View file @
5550cbc6
...
...
@@ -118,7 +118,7 @@ static void fdelay_add_ps(struct fdelay_time *p, uint64_t ps)
coarse
++
;
}
p
->
coarse
+=
coarse
;
if
(
p
->
coarse
>
125
*
1000
*
1000
)
{
if
(
p
->
coarse
>
=
125
*
1000
*
1000
)
{
p
->
coarse
-=
125
*
1000
*
1000
;
p
->
utc
++
;
}
...
...
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