Sam Lantinga
|
fda039e6f8
Fixed analyzer warnings for SDL_string.c
|
hace 1 año |
Sam Lantinga
|
22f44aefe7
Fixed warning C6340: Mismatch on sign: 'int' passed as _Param_(3) when some unsigned type is required in call to 'SDL_sscanf_REAL'.
|
hace 1 año |
Sam Lantinga
|
eab2d97d07
Fixed warning C26451: Arithmetic overflow: Using operator '*' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '*' to avoid overflow (io.2).
|
hace 1 año |
Sam Lantinga
|
41bfcad5d7
Fixed warning C6340: Mismatch on sign: 'unsigned short' passed as _Param_(2) when some signed type is required in call to 'SDL_SetError_REAL'.
|
hace 1 año |
Sam Lantinga
|
54dc73aa88
Fixed warning C6386: Buffer overrun while writing to 'palette_saved_alpha': the writable size is 'sizeof(Uint8)*((palette_saved_alpha_ncolors))' bytes, but '2' bytes might be written.
|
hace 1 año |
Sam Lantinga
|
0dad56354c
Fixed warning C6326: Potential comparison of a constant with another constant.
|
hace 1 año |
Sam Lantinga
|
c9b243fb56
Fixed warning C6263: Using _alloca in a loop: this can quickly overflow stack.
|
hace 1 año |
Sam Lantinga
|
4ccc53edfe
Fixed warning C6011: Dereferencing NULL pointer 'display'.
|
hace 1 año |
Sam Lantinga
|
3db4695ac7
warning C6340: Mismatch on sign: 'unsigned int' passed as _Param_(3) when some signed type is required in call to 'SDL_LogDebug_REAL'.
|
hace 1 año |
Sam Lantinga
|
c7d81d936a
Fixed warning C6031: Return value ignored: 'GetKeyboardState'.
|
hace 1 año |
Sam Lantinga
|
69b9d44bdc
Fixed warning C26451: Arithmetic overflow: Using operator '-' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '-' to avoid overflow (io.2).
|
hace 1 año |
Sam Lantinga
|
a9b87ee201
Fixed warning C28159: Consider using 'GetTickCount64' instead of 'GetTickCount'. Reason: GetTickCount overflows roughly every 49 days. Code that does not take that into account can loop indefinitely. GetTickCount64 operates on 64 bit values and does not have that problem
|
hace 1 año |
Sam Lantinga
|
21f273ecc7
Fixed warning C6255: _alloca indicates failure by raising a stack overflow exception. Consider using _malloca instead.
|
hace 1 año |
Sam Lantinga
|
0c4cb3d153
Fixed warning C26451: Arithmetic overflow: Using operator '<<' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '<<' to avoid overflow (io.2).
|
hace 1 año |
Sam Lantinga
|
06f8f9a891
Fixed warning C6326: Potential comparison of a constant with another constant.
|
hace 1 año |
Sam Lantinga
|
3e54061fa8
Fixed warning C6011: Dereferencing NULL pointer 'SDL_disabled_events[hi]'.
|
hace 1 año |
Sam Lantinga
|
226f8fde09
Fixed warning C28182: Dereferencing NULL pointer. 'streams[j]' contains the same NULL value as 'stream' did.
|
hace 1 año |
Sam Lantinga
|
fe6b3ab0b0
Fixed warning C6031: Return value ignored: 'CLSIDFromString'.
|
hace 1 año |
Sam Lantinga
|
f3b0149756
Fixed warning C26451: Arithmetic overflow: Using operator '*' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '*' to avoid overflow (io.2).
|
hace 1 año |
Sam Lantinga
|
6cfce101fb
Don't call the property cleanup function if setting the property fails
|
hace 1 año |
Sam Lantinga
|
14380ec48a
Fixed signed/unsigned comparison warning
|
hace 1 año |
Sam Lantinga
|
ac0751a652
Added SDL_strnstr()
|
hace 1 año |
Sylvain
|
7c71e72193
SDL_render: Call InvalidateCachedState to initialise some of driverdata values (eg '*_dirty' to 1).
|
hace 1 año |
Sam Lantinga
|
058213366b
Make sure we use alpha of 0 when clearing a transparent window with no content
|
hace 1 año |
Sam Lantinga
|
ecd56bb8f0
Removed SDL_GetErrorMsg(), trivially implemented in application code
|
hace 1 año |
Sam Lantinga
|
66e532fa61
Handle out of memory errors without any allocation
|
hace 1 año |
foobit
|
579681a372
fixed SDL_SCANCODE_LEFT array position in scancodes_windows.h
|
hace 1 año |
SDL Wiki Bot
|
675423f096
Sync SDL3 wiki -> header
|
hace 1 año |
Dimitriy Ryazantcev
|
744a29b88f
WGI: Cleanup code a bit (#8647)
|
hace 1 año |
SDL Wiki Bot
|
e4582e6edc
Sync SDL3 wiki -> header
|
hace 1 año |