mirror of
https://github.com/reactos/reactos.git
synced 2024-12-30 19:14:31 +00:00
Avoid arithmetic overflow
svn path=/trunk/; revision=10682
This commit is contained in:
parent
6fa3492ab7
commit
93b57832ce
1 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
/* $Id: msgqueue.c,v 1.103 2004/08/08 17:57:34 weiden Exp $
|
||||
/* $Id: msgqueue.c,v 1.104 2004/08/25 22:31:01 gvg Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -855,7 +855,7 @@ MsqSendMessage(PUSER_MESSAGE_QUEUE MessageQueue,
|
|||
ThreadQueue = PsGetWin32Thread()->MessageQueue;
|
||||
ASSERT(ThreadQueue != MessageQueue);
|
||||
|
||||
Timeout.QuadPart = uTimeout * -10000;
|
||||
Timeout.QuadPart = (LONGLONG) uTimeout * (LONGLONG) -10000;
|
||||
|
||||
/* FIXME - increase reference counter of sender's message queue here */
|
||||
|
||||
|
|
Loading…
Reference in a new issue