• Show log

    Commit

  • Hash : 8d93a11c
    Author : Patrick Steinhardt
    Date : 2017-05-03T12:38:55

    odb: fix printf formatter for git_off_t
    
    The fields `declared_size` and `received_bytes` of the `git_odb_stream`
    are both of type `git_off_t` which is defined as a signed integer. When
    passing these values to a printf-style string in
    `git_odb_stream__invalid_length`, though, we format these as PRIuZ,
    which is unsigned.
    
    Fix the issue by using PRIdZ instead, silencing warnings on macOS.