r6108: Added smbsh/smbwrapper for Linux to example/libsmbclient tree; provided more...
[nivanova/samba-autobuild/.git] / examples / libsmbclient / testsmbc.c
index 888a9c0d4f9e26fb23dced9088bc6eaf5e7be343..9f5e6148eeda844fcffe66801196c7c47873abe2 100644 (file)
@@ -132,7 +132,7 @@ int main(int argc, char *argv[])
              ((struct smbc_dirent *)dirp)->comment);
 
       dirp += dsize;
-      (char *)dirc -= dsize;
+      dirc -= dsize;
 
     }