mirror of https://github.com/Genymobile/scrcpy
Correct coding style
Signed-off-by: Yu-Chen Lin <npes87184@gmail.com>
This commit is contained in:
parent
b2bf25c52c
commit
fbc86a616c
|
@ -36,8 +36,8 @@ buffer_read32be(const uint8_t *buf) {
|
|||
return (buf[0] << 24) | (buf[1] << 16) | (buf[2] << 8) | buf[3];
|
||||
}
|
||||
|
||||
static inline
|
||||
uint64_t buffer_read64be(const uint8_t *buf) {
|
||||
static inline uint64_t
|
||||
buffer_read64be(const uint8_t *buf) {
|
||||
uint32_t msb = buffer_read32be(buf);
|
||||
uint32_t lsb = buffer_read32be(&buf[4]);
|
||||
return ((uint64_t) msb << 32) | lsb;
|
||||
|
|
Loading…
Reference in New Issue