diff options
Diffstat (limited to 'runcap.h')
-rw-r--r-- | runcap.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -90,12 +90,12 @@ runcap_get_capture(struct runcap *rc, int stream) int runcap_getc(struct runcap *rc, int stream, char *cp); ssize_t runcap_getline(struct runcap *rc, int stream, char **pstr, size_t *psize); off_t runcap_tell(struct runcap *rc, int stream); -int runcap_seek(struct runcap *rc, int stream, off_t off, int whence); +off_t runcap_seek(struct runcap *rc, int stream, off_t off, int whence); static inline int runcap_rewind(struct runcap *rc, int stream) { - return runcap_seek(rc, stream, 0, 0); + return runcap_seek(rc, stream, 0, 0) != 0; } #endif |