horrible code produces likely data corruption and ignored warning

Description

In req_rerunjob2(), these lines

int force_rerun = 0;
and
rc = issue_signal(pjob, SIG_RERUN, post_rerun, (void *)force_rerun);

combine to produce the warning 'warning: cast to pointer from integer
of different size'.

Note that on the complaining platform 'void *' is an 8-byte value and
'force_rerun' (née 'force') a 4-byte one so the issue_signal function
is being passed a value that's half valid and half garbage. No wonder
it takes offense.

Acceptance Criteria

None

Status

Assignee

Unassigned

Reporter

Former user

Severity

None

OS

None

Start Date

None

Pull Request URL

None

Components

Priority

High
Configure