Project

General

Profile

Actions

Bug #14072

closed

picl: cast between incompatible function types

Added by Toomas Soome about 1 month ago. Updated about 1 month ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
cmd - userland programs
Start date:
Due date:
% Done:

100%

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

Description

Build error on SPARC:

    psvcplugin.c: In function 'thread_setup':
    psvcplugin.c:554:45: error: cast between incompatible function types from 'void (*)(EInterval_t *)' {aka 'void (*)(struct interval_info *)'} to 'void * (*)()' [-Werror=cast-function-type]
      554 |  status = pthread_create(&ip->thread, NULL, (void *(*)())run_policies,
          |                                             ^
    cc1: all warnings being treated as errors

Fix function signature.

Testing done: build/install/boot.

Actions

Also available in: Atom PDF