Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
09d77a75
Commit
09d77a75
authored
Feb 15, 2011
by
Mike Hibler
Browse files
Bah, fix a sign-extension issue.
You would think after 30 years I would have mastered this...
parent
edef810d
Changes
2
Hide whitespace changes
Inline
Side-by-side
os/frisbee.redux/client.c
View file @
09d77a75
...
...
@@ -1693,7 +1693,8 @@ PlayFrisbee(void)
p
->
msg
.
join2
.
chunksize
=
MAXCHUNKSIZE
;
p
->
msg
.
join2
.
blocksize
=
MAXBLOCKSIZE
;
p
->
msg
.
join2
.
bytecount
=
p
->
msg
.
join
.
blockcount
*
MAXBLOCKSIZE
;
(
uint64_t
)
p
->
msg
.
join
.
blockcount
*
MAXBLOCKSIZE
;
}
CLEVENT
(
1
,
EV_CLIJOINREP
,
CHUNKSIZE
,
BLOCKSIZE
,
...
...
os/frisbee.redux/decls.h
View file @
09d77a75
...
...
@@ -290,7 +290,7 @@ typedef struct {
int32_t
blockcount
;
int32_t
chunksize
;
int32_t
blocksize
;
int64_t
bytecount
;
u
int64_t
bytecount
;
}
join2
;
/*
...
...
Write
Preview
Supports
Markdown
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