--- parser3/src/classes/op.C 2005/02/17 14:54:56 1.150 +++ parser3/src/classes/op.C 2005/08/05 13:02:57 1.152.4.1 @@ -1,11 +1,11 @@ /** @file Parser: parser @b operators. - Copyright (c) 2001-2004 ArtLebedev Group (http://www.artlebedev.com) + Copyright (c) 2001-2005 ArtLebedev Group (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char * const IDENT_OP_C="$Date: 2005/02/17 14:54:56 $"; +static const char * const IDENT_OP_C="$Date: 2005/08/05 13:02:57 $"; #include "classes.h" #include "pa_vmethod_frame.h" @@ -466,7 +466,7 @@ static Try_catch_result try_catch(Reques // consts -const int DATA_STRING_SERIALIZED_VERSION=0x0005; +const int DATA_STRING_SERIALIZED_VERSION=0x0006; // helper types @@ -759,7 +759,7 @@ static void _throw_operator(Request&, Me static void _sleep_operator(Request& r, MethodParams& params) { double seconds=params.as_double(0, "seconds must be double", r); - pa_sleep(trunc(seconds), trunc(seconds*1000)); + pa_sleep((int)trunc(seconds), (int)trunc(seconds*1000)); } #if defined(WIN32) && defined(_DEBUG)