summaryrefslogtreecommitdiff
path: root/games/fortune/strfile
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-06-28 01:49:32 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-06-28 01:49:32 +0000
commit9215b59402084280a5ba360c255d9b1c963e44e5 (patch)
tree9f934b3c7aa4daee9dc4292344674ca90436e0db /games/fortune/strfile
parent2c7ddf93107d17353e993d8fcc0225e3aee3c7d9 (diff)
tree(3) wants an int return value for its compare functions and
the difference between two pointers is not an int. Just do the safest thing and store the result in a long and then return 0, -1, or 1 based on that result.
Diffstat (limited to 'games/fortune/strfile')
0 files changed, 0 insertions, 0 deletions