1. many, many, many warnings fixed (from HP-UX build log; 50% are still left)
2. attempt (failed) at compiling wxGTK with GTK+ 1.3.0 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -97,7 +97,7 @@ void wxUsleep(unsigned long milliseconds)
|
||||
{
|
||||
#if defined(HAVE_NANOSLEEP)
|
||||
timespec tmReq;
|
||||
tmReq.tv_sec = milliseconds / 1000;
|
||||
tmReq.tv_sec = (time_t)(milliseconds / 1000);
|
||||
tmReq.tv_nsec = (milliseconds % 1000) * 1000 * 1000;
|
||||
|
||||
// we're not interested in remaining time nor in return value
|
||||
@@ -126,7 +126,7 @@ void wxUsleep(unsigned long milliseconds)
|
||||
|
||||
int wxKill(long pid, wxSignal sig)
|
||||
{
|
||||
return kill(pid, (int)sig);
|
||||
return kill((pid_t)pid, (int)sig);
|
||||
}
|
||||
|
||||
#define WXEXECUTE_NARGS 127
|
||||
|
Reference in New Issue
Block a user