2003-01-02 Casper S. Hornstrup <chorns@users.sourceforge.net>

* ntoskrnl/ke/timer.c (KeExpireTimers): Avoid signed/unsigned comparison
	warning.
	* lib/user32/controls/scrollbar.c (SCROLL_DrawScrollBar): Put a statement
	at end.

svn path=/trunk/; revision=3925
This commit is contained in:
Casper Hornstrup 2003-01-02 23:37:28 +00:00
parent a39bff34c3
commit 31fe11951c
3 changed files with 1268 additions and 1261 deletions

File diff suppressed because it is too large Load diff

View file

@ -1,4 +1,4 @@
/* $Id: scrollbar.c,v 1.5 2002/12/21 19:23:50 jfilby Exp $ /* $Id: scrollbar.c,v 1.6 2003/01/02 23:37:28 chorns Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel * PROJECT: ReactOS kernel
@ -304,7 +304,7 @@ SCROLL_DrawScrollBar (HWND hwnd, HDC hdc, INT nBar,
SetCaretPos (info.rcScrollBar.top + 1, thumbPos + 1); SetCaretPos (info.rcScrollBar.top + 1, thumbPos + 1);
} }
} */ } */
END: END:;
/* WIN_ReleaseWndPtr(wndPtr); */ /* WIN_ReleaseWndPtr(wndPtr); */
} }

View file

@ -1,4 +1,4 @@
/* $Id: timer.c,v 1.54 2002/12/09 20:15:25 hbirr Exp $ /* $Id: timer.c,v 1.55 2003/01/02 23:37:28 chorns Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel * PROJECT: ReactOS kernel
@ -421,7 +421,7 @@ KeExpireTimers(PKDPC Dpc,
current = CONTAINING_RECORD(current_entry, KTIMER, TimerListEntry); current = CONTAINING_RECORD(current_entry, KTIMER, TimerListEntry);
current_entry = current_entry->Flink; current_entry = current_entry->Flink;
if (SystemTime.QuadPart >= current->DueTime.QuadPart) if ((ULONGLONG) SystemTime.QuadPart >= current->DueTime.QuadPart)
{ {
HandleExpiredTimer(current); HandleExpiredTimer(current);
} }