Skip to content
Commit a721a9b1 authored by Tom Tromey's avatar Tom Tromey
Browse files

Fix small bug in compile.exp



compile.exp generally does not work for me on Fedora 38.  However, I
sent a GCC patch to fix the plugin crash.  With that patch, I get this
error from one test in compile.exp:

gdb command line:1:22: warning: initialization of 'int (*)(int)' from incompatible pointer type 'int (*)()' [-Wincompatible-pointer-types]

This patch adds a cast to compile.exp.  This makes the test pass.

Reviewed-by: default avatarKeith Seitz <keiths@redhat.com>
parent 7db795bc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment