Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion libcommon/include/vcc/bus/cartridge.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ namespace vcc::bus
/// that can be connected to devices such as a computer or video game console to
/// provide programs and data on ROM, extra RAM, or additional hardware capabilities
/// such as a floppy disk controller or programmable sound generator.
struct LIBCOMMON_EXPORT cartridge
class LIBCOMMON_EXPORT cartridge
{
public:

Expand Down
4 changes: 3 additions & 1 deletion libcommon/include/vcc/utils/dll_deleter.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ namespace vcc::utils
{

/// @brief Custom `std::unique_ptr` "deleter" for managing the lifetime of shared libraries.
struct LIBCOMMON_EXPORT dll_deleter
class LIBCOMMON_EXPORT dll_deleter
{
public:

/// @brief Release a shared library.
///
/// @param instance The handle to the shared library to release.
Expand Down
4 changes: 2 additions & 2 deletions libcommon/src/devices/serial/beckerport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -197,13 +197,13 @@ namespace vcc::devices::serial
// Permit retry unless urecoverable error or success
retry_ = true;

struct addrinfo hints;
addrinfo hints;
ZeroMemory(&hints, sizeof(hints));
hints.ai_family = AF_UNSPEC;
hints.ai_socktype = SOCK_STREAM;
hints.ai_protocol = IPPROTO_TCP;

struct addrinfo *result = nullptr;
addrinfo *result = nullptr;
if (getaddrinfo(cur_address_, cur_port_, &hints, &result) != 0) {
retry_ = false;
return;
Expand Down