1
0
mirror of https://github.com/adtools/clib2.git synced 2025-12-08 14:59:05 +00:00

- Corrected a couple more compiler warnings caused by mutable/constant

string pointer assignments.


git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@15149 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
Olaf Barthel
2006-09-25 14:51:15 +00:00
parent 9f37f76b01
commit d5bfee3917
15 changed files with 67 additions and 62 deletions

View File

@ -1,5 +1,5 @@
/*
* $Id: stdlib_main.c,v 1.32 2006-09-22 09:19:07 obarthel Exp $
* $Id: stdlib_main.c,v 1.33 2006-09-25 14:51:15 obarthel Exp $
*
* :ts=4
*
@ -476,7 +476,7 @@ _main(void)
{
struct CommandLineInterface * cli = Cli();
struct TagItem tags[12];
UBYTE program_name[256];
TEXT program_name[256];
unsigned int stack_size;
int i;
@ -492,7 +492,7 @@ _main(void)
if(stack_size < cli->cli_DefaultStack * sizeof(LONG))
stack_size = cli->cli_DefaultStack * sizeof(LONG);
GetProgramName(program_name,sizeof(program_name));
GetProgramName(program_name,(LONG)sizeof(program_name));
i = 0;