Commit d6abd383 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

server: Remove an unneeded cast.

parent dfb823bb
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment