Use correct types for cursor absolute and relative offsets
commitea1091687bc9e942af45b6c775afcbf7b0ed6564
authorPetr Tesarik <petr@tesarici.cz>
Fri, 18 May 2018 06:02:28 +0000 (18 08:02 +0200)
committerPetr Tesarik <petr@tesarici.cz>
Fri, 18 May 2018 06:02:28 +0000 (18 08:02 +0200)
tree905b7360ebdef0c576b26b490735f7eaa17d7ee4
parent60494aff6d1661f448317cb8a4b3945b19b9b4c2
Use correct types for cursor absolute and relative offsets

First, hed_off_t may not be the same type as off_t. Use the former
for libhed relative offsets.

Second, use hed_uoff_t (unsigned) for file absolute position, most
notably for cursor logical position.

Signed-off-by: Petr Tesarik <petr@tesarici.cz>
libhed/file.c
libhed/file.h
src/ui/fileshow.c