Fix warnings (some bugs, some spurious)

Many spurious VC warnings not quieted though.
This commit is contained in:
Nicolas Williams
2020-03-12 00:42:33 -05:00
parent f3e6c4ffd4
commit 64d5f86ec3
20 changed files with 38 additions and 36 deletions

View File

@@ -196,8 +196,8 @@ _gss_mg_decode_le_uint16(const void *ptr, uint16_t *n)
void
_gss_mg_encode_be_uint16(uint16_t n, uint8_t *p)
{
p[0] = (n >> 24) & 0xFF;
p[1] = (n >> 16) & 0xFF;
p[0] = (n >> 8) & 0xFF;
p[1] = (n >> 0) & 0xFF;
}
void