class _wxSocketInternalTimer: public wxTimer {
public:
int *m_state;
- int m_new_val;
+ unsigned long m_new_val;
void Notify()
{
m_defer_timer = &timer;
timer.m_state = (int *)&m_defer_buffer;
- timer.m_new_val = (int)NULL;
+ timer.m_new_val = 0;
timer.Start(m_timeout * 1000, FALSE);
// Start timer
timer.m_state = (int *)&m_defer_buffer;
- timer.m_new_val = (int)NULL;
+ timer.m_new_val = 0;
m_defer_timer = &timer;
timer.Start(m_timeout * 1000, FALSE);