zeromq/zeromq2-x — pull request #62 by da2ce7 (2012-06-15 04:52:06+00:00)
Title: Fixed a Crash Bug only seen with unicode on Windows.

Now, as it should be, treating Unicode character as shorts.

1. The upper byte is now discarded in the uuid_t::convert_byte function. (upper byte is of no use. we discard those characters anyway in the function, as we only care about a-z A-Z 1-9).

2. progress twice as far along the buffer (as short is twice as long as char), in the uuid_t::create_blob function.

3. Using a reinterpret_cast on the string_buffer (we don't want any other sorts of casts).

4. Removing const from buf in uuid_t::create_blob function, and construct and destruct the pointer explicitly.