HIDAPI_DumpPacket() takes a const memory pointer

This commit is contained in:
Sam Lantinga
2022-09-02 11:37:16 -07:00
parent b6d23d21db
commit 7df571ffc6
2 changed files with 2 additions and 2 deletions

View File

@@ -97,7 +97,7 @@ static SDL_bool initialized = SDL_FALSE;
static SDL_bool shutting_down = SDL_FALSE;
void
HIDAPI_DumpPacket(const char *prefix, Uint8 *data, int size)
HIDAPI_DumpPacket(const char *prefix, const Uint8 *data, int size)
{
int i;
char *buffer;