]> git.ipfire.org Git - thirdparty/gcc.git/commit
libiberty, Darwin: Fix a build warning.
authorIain Sandoe <iain@sandoe.co.uk>
Mon, 23 Aug 2021 16:34:43 +0000 (17:34 +0100)
committerIain Sandoe <iain@sandoe.co.uk>
Mon, 23 Aug 2021 16:37:41 +0000 (17:37 +0100)
commit38757aa88735ab2e511bc428e2407a5a5e9fa0be
treed0bc5c525f58398e87a799e1caf04609e0e57396
parent6a64964212c8e5e10e474803d06a07514c1069b7
libiberty, Darwin: Fix a build warning.

r12-3005-g220c410162ebece4f missed a cast for the set_32 call.
Fixed thus.

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
libiberty/ChangeLog:

* simple-object-mach-o.c (simple_object_mach_o_write_segment):
Cast the first argument to set_32 as needed.
libiberty/simple-object-mach-o.c