summaryrefslogtreecommitdiff
path: root/examples/libsmbclient/testsmbc.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/libsmbclient/testsmbc.c')
-rw-r--r--examples/libsmbclient/testsmbc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/libsmbclient/testsmbc.c b/examples/libsmbclient/testsmbc.c
index 888a9c0d4f..9f5e6148ee 100644
--- a/examples/libsmbclient/testsmbc.c
+++ b/examples/libsmbclient/testsmbc.c
@@ -132,7 +132,7 @@ int main(int argc, char *argv[])
((struct smbc_dirent *)dirp)->comment);
dirp += dsize;
- (char *)dirc -= dsize;
+ dirc -= dsize;
}