• M
    virJSONValueArraySize: return ssize_t · 4f77c48c
    Michal Privoznik 提交于
    The internal representation of a JSON array counts the items in
    size_t. However, for some reason, when asking for the count it's
    reported as int. Firstly, we need the function to return a signed
    type as it's returning -1 on an error. But, not every system has
    integer the same size as size_t. Therefore, lets return ssize_t.
    Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
    4f77c48c
lock_daemon.c 41.7 KB