diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2016-10-21 12:35:05 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2016-10-21 12:35:05 +0200 |
commit | d2e8f6114903bd3f4841cec91bc77c1ca7e8dca4 (patch) | |
tree | 88327ab5fc2eda9fbd905f284584fe5879fbe0a1 /src/osd | |
parent | a291e77b2cfc4ce1b780db0d8fa664fb8094d365 (diff) |
dynamic_buffer is just std::vector<UINT8> (nw)
Diffstat (limited to 'src/osd')
-rw-r--r-- | src/osd/modules/output/win32_output.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/modules/output/win32_output.cpp b/src/osd/modules/output/win32_output.cpp index e9add1b515d..826aa3b9e04 100644 --- a/src/osd/modules/output/win32_output.cpp +++ b/src/osd/modules/output/win32_output.cpp @@ -303,7 +303,7 @@ LRESULT output_win32::send_id_string(HWND hwnd, LPARAM id) // allocate memory for the message datalen = sizeof(copydata_id_string) + strlen(name) + 1; - dynamic_buffer buffer(datalen); + std::vector<UINT8> buffer(datalen); copydata_id_string *temp = (copydata_id_string *)&buffer[0]; temp->id = id; strcpy(temp->string, name); |