General tidy-up (mainly typecasts) to allow the use of the SGI native

compilers (tested on Irix 6.5 with -mips3 -n32).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Unknown (RO)
1998-08-23 03:22:56 +00:00
parent cb6780ff01
commit c67daf8777
215 changed files with 1654 additions and 1458 deletions

View File

@@ -105,8 +105,8 @@ wxDate::wxDate (const wxString& dat)
char *token = strtok(buf,"/-");
month = atoi(token);
day = atoi(strtok(NULL,"/-"));
year = atoi(strtok(NULL," "));
day = atoi(strtok((char *) NULL,"/-"));
year = atoi(strtok((char *) NULL," "));
}
mdy_to_julian ();
@@ -148,8 +148,8 @@ void wxDate::operator = (const wxString& dat)
char *token = strtok(buf,"/-");
month = atoi(token);
day = atoi(strtok(NULL,"/-"));
year = atoi(strtok(NULL," "));
day = atoi(strtok((char *) NULL,"/-"));
year = atoi(strtok((char *) NULL," "));
}
mdy_to_julian ();
@@ -481,7 +481,7 @@ wxDate& wxDate::Set()
mdy_to_julian();
#else
time_t now = time(NULL);
time_t now = time((time_t *) NULL);
struct tm *localTime = localtime(&now);
month = localTime->tm_mon + 1;