Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python: Use Py_hash_t instead of long in hdr_hash #2409

Closed
wants to merge 1 commit into from

Commits on Mar 3, 2023

  1. python: Use Py_hash_t instead of long in hdr_hash

    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 */
    |         ^~~~~~~~
    
    Signed-off-by: Khem Raj <raj.khem@gmail.com>
    kraj committed Mar 3, 2023
    Configuration menu
    Copy the full SHA
    6ef189c View commit details
    Browse the repository at this point in the history