diff options
author | Sander Vrijders <[email protected]> | 2016-05-16 17:05:36 +0200 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2016-05-16 17:29:22 +0200 |
commit | ca914eb17bfdb2e56a39951a96a9fb54e1a5f607 (patch) | |
tree | c552c75886dd88eb9ebdc3e31ea92df17df1f7fd /src/lib/shm_ap_rbuff.c | |
parent | cd14d5db7abdb12b5e46a6c055daf5304bb43b74 (diff) | |
download | ouroboros-ca914eb17bfdb2e56a39951a96a9fb54e1a5f607.tar.gz ouroboros-ca914eb17bfdb2e56a39951a96a9fb54e1a5f607.zip |
lib: Add missing modulo calculation
Adds a missing modulo calculation that would result in index -1 being
returned instead of zero when the ringbuffer skipped back to the
beginning.
Diffstat (limited to 'src/lib/shm_ap_rbuff.c')
0 files changed, 0 insertions, 0 deletions