Skip to content
  • Nick Mathewson's avatar
    buffers: use ptrdiff_t to indicate offsets. · 3aba13f7
    Nick Mathewson authored
    Previously we used int in some places and off_t for others.  Neither
    is correct: ptrdiff_t is right for differences between pointers.
    (off_t is only for offsets and sizes on the filesystem.)
    3aba13f7