Skip to content

Commit a797756

Browse files
committed
cast-conv-ptr: add " in function pointer" to function pointer warnings
1 parent 14d663e commit a797756

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/ast-node-conv.bas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ function astNewCONV _
505505
'' specific warning message takes priority over const warning
506506
if( wrnmsg <> 0 ) then
507507
if( (options and AST_CONVOPT_DONTWARNFUNCPTR) = 0 ) then
508-
errReportWarn( wrnmsg )
508+
errReportWarn( wrnmsg, , , strptr(" in function pointer") )
509509
end if
510510

511511
'' else, must be const warning

0 commit comments

Comments
 (0)