Skip to content

Commit

Permalink
Fix conflicting types for ReadVarBytes. (#102)
Browse files Browse the repository at this point in the history
Updates Simulator_fp.h to match TcpServer.c declaration.
  • Loading branch information
esmusick committed Oct 17, 2023
1 parent c3c41c0 commit e9fc7b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TPMCmd/Simulator/include/prototypes/Simulator_fp.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ bool ReadUINT32(SOCKET s, uint32_t* val);
//*** ReadVarBytes()
// Get a uint32-length-prepended binary array. Note that the 4-byte length is
// in network byte order (big-endian).
bool ReadVarBytes(SOCKET s, char* buffer, uint32_t* BytesReceived, int MaxLen);
bool ReadVarBytes(SOCKET s, char* buffer, uint32_t* BytesReceived, uint32_t MaxLen);

//*** WriteVarBytes()
// Send a UINT32-length-prepended binary array. Note that the 4-byte length is
Expand Down

0 comments on commit e9fc7b8

Please sign in to comment.