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

- Got rid of some more compiler warnings by introducing function prototypes

which were missing and by casting pointers to the expected types.


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

View File

@ -1,5 +1,5 @@
/*
* $Id: stdlib_showerror.c,v 1.13 2006-01-08 12:04:26 obarthel Exp $
* $Id: stdlib_showerror.c,v 1.14 2006-09-25 15:12:47 obarthel Exp $
*
* :ts=4
*
@ -201,7 +201,7 @@ __show_error(const char * message)
}
else
{
if(GetProgramName(program_name,sizeof(program_name)))
if(GetProgramName((STRPTR)program_name,sizeof(program_name)))
title_string = FilePart((STRPTR)program_name);
else
title_string = (STRPTR)"Error";