Skip to content

Commit

Permalink
Fix some compile issues
Browse files Browse the repository at this point in the history
  • Loading branch information
caryr committed Jan 20, 2024
1 parent d42f97e commit 5c9ec10
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tgt-vvp/draw_net_input.c
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ static void display_multi_driver_error(ivl_nexus_t nex, unsigned ndrivers,
static ivl_nexus_ptr_t *drivers = 0x0;
static unsigned adrivers = 0;

void EOC_cleanup_drivers()
void EOC_cleanup_drivers(void)
{
free(drivers);
drivers = NULL;
Expand Down
4 changes: 2 additions & 2 deletions vvp/vpi_vthr_vector.cc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2001-2021 Stephen Williams ([email protected])
* Copyright (c) 2001-2024 Stephen Williams ([email protected])
* Copyright (c) 2001 Stephan Boettcher <[email protected]>
*
* This source code is free software; you can redistribute it
Expand Down Expand Up @@ -218,7 +218,7 @@ void thread_word_delete(vpiHandle item)

static void thread_word_delete_real(vpiHandle item)
{
struct __vpiVThrWord*obj = dynamic_cast<__vpiVThrWord*>(item);
class __vpiVThrWord*obj = dynamic_cast<__vpiVThrWord*>(item);
delete obj;
}
#endif
Expand Down

0 comments on commit 5c9ec10

Please sign in to comment.