wbemprox: Fix a typo.
authorHans Leidekker <hans@codeweavers.com>
Wed, 6 Jan 2016 13:44:33 +0000 (14:44 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 6 Jan 2016 17:08:35 +0000 (18:08 +0100)
Spotted by Nikolay Sivov.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/wbemprox/query.c

index 53e1044eea63bd408d1b16b1bc40d11431f45036..76f5caa6345e890182981f77435c23ca3e9ae8c2 100644 (file)
@@ -266,7 +266,7 @@ static HRESULT eval_binary( const struct table *table, UINT row, const struct co
         if (is_int( ltype )) lstr = format_int( lbuf, ltype, lval );
         else lstr = (const WCHAR *)(INT_PTR)lval;
 
-        if (is_int( rtype )) rstr = format_int( rbuf, ltype, rval );
+        if (is_int( rtype )) rstr = format_int( rbuf, rtype, rval );
         else rstr = (const WCHAR *)(INT_PTR)rval;
 
         return eval_strcmp( expr->op, lstr, rstr, val );