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
Ralph Giles
Opusfile
Commits
94b0c98a
Commit
94b0c98a
authored
Mar 25, 2013
by
Timothy B. Terriberry
Browse files
Minor comment fix.
parent
81002442
Changes
1
Show whitespace changes
Inline
Side-by-side
src/internal.h
View file @
94b0c98a
...
...
@@ -90,7 +90,7 @@ void op_fatal_impl(const char *_str,const char *_file,int _line);
/*Advance a file offset by the given amount, clamping against OP_INT64_MAX.
This is used to advance a known offset by things like OP_CHUNK_SIZE or
OP_PAGE_SIZE_MAX, while making sure to avoid signed overflow.
It assumes that both _offset and _amount are
posi
tive.*/
It assumes that both _offset and _amount are
non-nega
tive.*/
#define OP_ADV_OFFSET(_offset,_amount) \
(OP_MIN(_offset,OP_INT64_MAX-(_amount))+(_amount))
...
...
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