projects
/
umurmur.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
893f97a
)
Fix a bug in Pds_skip()
author
fatbob313
<martin@fatbob.nu>
Sun, 7 Feb 2010 13:17:00 +0000
(13:17 +0000)
committer
fatbob313
<martin@fatbob.nu>
Sun, 7 Feb 2010 13:17:00 +0000
(13:17 +0000)
src/pds.c
patch
|
blob
|
history
diff --git
a/src/pds.c
b/src/pds.c
index 0563c53653515d793c5be5c741809f8844bfb2b5..6f63e1a1f3943d0b3d241fcbe9f1fc21c08bb01d 100644
(file)
--- a/
src/pds.c
+++ b/
src/pds.c
@@
-95,7
+95,7
@@
uint8_t Pds_next8(pds_t *pds)
int Pds_skip(pds_t *pds, int offset)
{
int Pds_skip(pds_t *pds, int offset)
{
- if (pds->offset + offset < pds->maxsize) {
+ if (pds->offset + offset <
=
pds->maxsize) {
pds->offset += offset;
return offset;
} else {
pds->offset += offset;
return offset;
} else {