summaryrefslogtreecommitdiff
path: root/source4/include/system
diff options
context:
space:
mode:
Diffstat (limited to 'source4/include/system')
-rw-r--r--source4/include/system/dir.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/source4/include/system/dir.h b/source4/include/system/dir.h
index ce6aae0264..14b36c0da0 100644
--- a/source4/include/system/dir.h
+++ b/source4/include/system/dir.h
@@ -46,16 +46,16 @@
*/
#ifndef ISDOT
#define ISDOT(path) ( \
- *((const char *)path) == '.' && \
- *(((const char *)path) + 1) == '\0' \
+ *((const char *)(path)) == '.' && \
+ *(((const char *)(path)) + 1) == '\0' \
)
#endif
#ifndef ISDOTDOT
#define ISDOTDOT(path) ( \
- *((const char *)path) == '.' && \
- *(((const char *)path) + 1) == '.' && \
- *(((const char *)path) + 2) == '\0' \
+ *((const char *)(path)) == '.' && \
+ *(((const char *)(path)) + 1) == '.' && \
+ *(((const char *)(path)) + 2) == '\0' \
)
#endif