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

Fix incompatible function pointer types #49

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Nov 11, 2022

  1. Fix function pointer initialization

    Fix
    
    src/filebrowser.c:380:27: warning: incompatible function pointer types initializing '_mode_get_icon' (aka 'struct _cairo_surface *(*)(const struct rofi_mode *, unsigned int, unsigned int)') with an expression of type 'cairo_surface_t *(const Mode *, unsigned int, int)' (aka 'struct _cairo_surface *(const struct rofi_mode *, unsigned int, int)') [-Wincompatible-function-pointer-types]
        ._get_icon          = file_browser_get_icon,
                              ^~~~~~~~~~~~~~~~~~~~~
    
    See also https://bugs.gentoo.org/880985
    Flowdalic committed Nov 11, 2022
    Configuration menu
    Copy the full SHA
    6f62a2d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4d402e5 View commit details
    Browse the repository at this point in the history