Address new compiler warnings

Description

Address the following warnings...

gcc -DHAVE_CONFIG_H -I. -I../../../../src/lib/Libpbs -I../../../src/include -I../../../../src/include -g -O2 -MT libpbs_la-ecl_node_attr_def.lo -MD -MP -MF .deps/libpbs_la-ecl_node_attr_def.Tpo -c ../../../../src/lib/Libpbs/ecl_node_attr_def.c -fPIC -DPIC -o .libs/libpbs_la-ecl_node_attr_def.o
../../../../src/lib/Libpbs/ecl_node_attr_def.c:244:2: warning: initialization from incompatible pointer type [enabled by default]
},
^
../../../../src/lib/Libpbs/ecl_node_attr_def.c:244:2: warning: (near initialization for 'ecl_node_attr_def[25].at_verify_value') [enabled by default]

gcc -DHAVE_CONFIG_H -I. -I../../../src/server -I../../src/include -I../../../src/include -I/usr/include/python2.7 -I/usr/include/python2.7 -g -O2 -MT pbs_server_bin-req_signal.o -MD -MP -MF .deps/pbs_server_bin-req_signal.Tpo -c -o pbs_server_bin-req_signal.o `test -f 'req_signal.c' || echo '../../../src/server/'`req_signal.c
../../../src/server/req_signal.c: In function 'post_signal_req':
../../../src/server/req_signal.c:505:7: warning: passing argument 4 of 'job_attr_def[59].at_decode' makes pointer from integer without a cast [enabled by default]
(char *)pjob->ji_wattr[(int) JOB_ATR_exec_vnode].at_val.at_str));
^
../../../src/server/req_signal.c:505:7: note: expected 'char *' but argument is of type 'int'

Acceptance Criteria

Only the ical compiler warning should remain.

Activity

Show:
Michael Karo
October 27, 2017, 11:23 PM

A visual inspection of the build log is required to verify that the warnings no longer exist. No automated tests required. No change in functionality.

Assignee

Michael Karo

Reporter

Michael Karo

Severity

2-Medium

OS

None

Start Date

None

Pull Request URL

Story Points

1

Fix versions

Affects versions

Priority

High
Configure