[Rpm-maint] [rpm-software-management/rpm] python: Use Py_hash_t instead of long in hdr_hash (PR #2409)

Khem Raj notifications at github.com
Fri Mar 3 18:00:30 UTC 2023


Fixes
python/header-py.c:744:2: error: incompatible function pointer types initializing 'hashfunc' (aka 'int (*)(struct _object *)') with an expression of type 'long (PyObject *)' (aka 'long (struct _object *)') [-Wincompatible-function-pointer-types]
|         hdr_hash,                       /* tp_hash */
|         ^~~~~~~~
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/2409

-- Commit Summary --

  * python: Use Py_hash_t instead of long in hdr_hash

-- File Changes --

    M python/header-py.c (4)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/2409.patch
https://github.com/rpm-software-management/rpm/pull/2409.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2409
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/2409 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20230303/960c4290/attachment.html>


More information about the Rpm-maint mailing list