Changes in uspace/lib/usbdev/src/request.c [0a520db:28a5ebd] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbdev/src/request.c
r0a520db r28a5ebd 756 756 /* Prepare dynamically allocated variables. */ 757 757 uint8_t *string = NULL; 758 wchar_t *string_chars = NULL;758 char32_t *string_chars = NULL; 759 759 760 760 /* Get the actual descriptor. */ … … 783 783 784 784 const size_t string_char_count = string_size / 2; 785 string_chars = malloc(sizeof( wchar_t) * (string_char_count + 1));785 string_chars = malloc(sizeof(char32_t) * (string_char_count + 1)); 786 786 if (string_chars == NULL) { 787 787 rc = ENOMEM;
Note:
See TracChangeset
for help on using the changeset viewer.