mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 03:27:39 +00:00
Fix MODE=optlinux for GitHub Actions
This commit is contained in:
parent
0602ff6bab
commit
2187d6d2dd
1 changed files with 4 additions and 0 deletions
4
third_party/mbedtls/ssl_msg.c
vendored
4
third_party/mbedtls/ssl_msg.c
vendored
|
@ -1206,7 +1206,11 @@ static void mbedtls_ssl_cf_memcpy_if_eq( unsigned char *dst,
|
|||
__builtin_memcpy( &x, dst + i, 8 );
|
||||
__builtin_memcpy( &y, src + i, 8 );
|
||||
x = ( x & ~-equal ) | ( y & -equal );
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wstringop-overflow"
|
||||
// TODO(jart): What is this mysterious confusing GCC warning?
|
||||
__builtin_memcpy( dst + i, &x, 8 );
|
||||
#pragma GCC diagnostic pop
|
||||
}
|
||||
for( ; i < len; i++ )
|
||||
dst[i] = ( src[i] & mask ) | ( dst[i] & ~mask );
|
||||
|
|
Loading…
Reference in a new issue