Francois Gouget : server: Remove an unneeded cast.
Alexandre Julliard
julliard at winehq.org
Mon Dec 1 07:34:13 CST 2008
Module: wine
Branch: master
Commit: d6abd3835fe93425d5c711eb6700f83575f4c78b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d6abd3835fe93425d5c711eb6700f83575f4c78b
Author: Francois Gouget <fgouget at free.fr>
Date: Mon Dec 1 11:10:06 2008 +0100
server: Remove an unneeded cast.
---
server/console.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/server/console.c b/server/console.c
index b931e05..a79dc67 100644
--- a/server/console.c
+++ b/server/console.c
@@ -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 );
More information about the wine-cvs
mailing list