mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-12-19 06:24:19 +01:00
Replace unsigned char by uint8_t for buffers
For consistency.
This commit is contained in:
@@ -498,7 +498,7 @@ sc_server_init(struct sc_server *server, const struct sc_server_params *params,
|
||||
static bool
|
||||
device_read_info(struct sc_intr *intr, sc_socket device_socket,
|
||||
struct sc_server_info *info) {
|
||||
unsigned char buf[SC_DEVICE_NAME_FIELD_LENGTH];
|
||||
uint8_t buf[SC_DEVICE_NAME_FIELD_LENGTH];
|
||||
ssize_t r = net_recv_all_intr(intr, device_socket, buf, sizeof(buf));
|
||||
if (r < SC_DEVICE_NAME_FIELD_LENGTH) {
|
||||
LOGE("Could not retrieve device information");
|
||||
|
||||
Reference in New Issue
Block a user