Project

General

Profile

Actions

Bug #11727

closed

usb_ah: cast between incompatible function types

Added by Toomas Soome over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
driver - device drivers
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

Build errors with gcc 8:

    ../../common/io/usb/clients/audio/usb_ah/usb_ah.c:143:2: error: cast between incompatible function types from 'void (*)(queue_t *, mblk_t *)' {aka 'void (*)(struct queue *, struct msgb *)'} to 'int (*)(queue_t *, mblk_t *)' {aka 'int (*)(struct queue *, struct msgb *)'} [-Werror=cast-function-type]
      (int (*)(queue_t *, mblk_t *))putnext,
      ^
    cc1: all warnings being treated as errors

Actions

Also available in: Atom PDF