Kawe Mazidjatari
b0d2665550
/W4: Fix compiler compatibility
...
Clang doesn't support function-style casts with types containing a space.
2023-04-02 17:34:42 +02:00
Kawe Mazidjatari
bae2e0a99c
/W4: Fix implicit type conversion warnings
...
Explicitly convert them to avoid any warnings or potential bugs.
2023-04-02 17:23:53 +02:00
Kawe Mazidjatari
837f53ccb7
Promote CUtlBuffer size types to 64bits
...
In the engine, all these seem to be 64bits as well as the members are 64bits.
2023-02-12 17:54:15 +01:00
Kawe Mazidjatari
1371bb1f38
Fix typo
2022-12-26 17:01:14 +01:00
Kawe Mazidjatari
4ba88963ff
Fix bugs and many compiler warnings
...
* Promoted size types in CUtlBuffer to int64.
* Fixed bug where CUtlBuffer::GetPtr returns a 64bit pointer that was promoted from a 32bit integral type.
* Use int64/size_t for anything strlen, pointer subtraction, etc..
* Removed invalid structure alignment declarations.
2022-11-24 15:41:52 +01:00
Kawe Mazidjatari
843cc6f4ca
A more complete implementation of the CUtlBuffer class
...
Added the implementation file and changed more methods to be 64 bit.
2022-11-22 08:57:33 +01:00