Project

General

Profile

Actions

Bug #14052

open

zsh: cast between incompatible function types

Added by Toomas Soome 21 days ago.

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

90%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

Build errors on SPARC:

    ../../sun/io/zs_hdlc.c:187:2: error: cast between incompatible function types from 'void (*)(queue_t *, mblk_t *)' {aka 'void (*)(struct queue *, struct msgb *)'} to 'int (*)()' [-Werror=cast-function-type]
      187 |  (int (*)())zsh_wput, /* output put procedure */
          |  ^
    cc1: all warnings being treated as errors

Fix zsh_wput() to return int.

Testing done: build/install/run.

No data to display

Actions

Also available in: Atom PDF