server: Remove an unneeded cast.

This commit is contained in:
Francois Gouget 2008-12-01 11:10:06 +01:00 committed by Alexandre Julliard
parent dfb823bb6f
commit d6abd3835f
1 changed files with 1 additions and 1 deletions

View File

@ -1380,7 +1380,7 @@ DECL_HANDLER(open_console)
struct object *obj = NULL;
reply->handle = 0;
if (req->from == (obj_handle_t)0)
if (!req->from)
{
if (current->process->console && current->process->console->renderer)
obj = grab_object( (struct object*)current->process->console );