mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-12 09:09:09 +00:00
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
-CodeLayout: Remove trailing spaces and Windows linebreaks
This commit is contained in:
@@ -422,7 +422,7 @@ static size_t SlCalcObjLength(void *object, const void *desc)
|
||||
{
|
||||
size_t length = 0;
|
||||
uint cmd,conv;
|
||||
byte *d = (byte*)desc;
|
||||
const byte *d = (const byte*)desc;
|
||||
|
||||
// Need to determine the length and write a length tag.
|
||||
while (true) {
|
||||
@@ -464,7 +464,7 @@ static size_t SlCalcObjLength(void *object, const void *desc)
|
||||
|
||||
void SlObject(void *object, const void *desc)
|
||||
{
|
||||
byte *d = (byte*)desc;
|
||||
const byte *d = (const byte*)desc;
|
||||
void *ptr;
|
||||
uint cmd,conv;
|
||||
|
||||
|
Reference in New Issue
Block a user