Andrew Talbot : cabinet: Remove unneeded cast.
Module: wine Branch: master Commit: 69599675a7d6ee7ea0a10bf4ccb994ccd7c6c2a7 URL: http://source.winehq.org/git/wine.git/?a=commit;h=69599675a7d6ee7ea0a10bf4cc... Author: Andrew Talbot <andrew.talbot(a)talbotville.com> Date: Sat Dec 29 15:37:27 2007 +0000 cabinet: Remove unneeded cast. --- dlls/cabinet/fdi.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/cabinet/fdi.c b/dlls/cabinet/fdi.c index 91e2daf..a0bb64a 100644 --- a/dlls/cabinet/fdi.c +++ b/dlls/cabinet/fdi.c @@ -461,7 +461,7 @@ static char *FDI_read_string(HFDI hfdi, INT_PTR hf, long cabsize) } /* otherwise, set the stream to just after the string and return */ - PFDI_SEEK(hfdi, hf, base + ((cab_off_t) strlen((char *) buf)) + 1, SEEK_SET); + PFDI_SEEK(hfdi, hf, base + strlen((char *)buf) + 1, SEEK_SET); return (char *) buf; }
participants (1)
-
Alexandre Julliard