summaryrefslogtreecommitdiff
path: root/src/lib/eina/eina_file_win32.c
diff options
context:
space:
mode:
authorJoão Paulo Taylor Ienczak Zanette <jpaulotiz@gmail.com>2020-08-12 07:23:16 +0000
committerStefan Schmidt <s.schmidt@samsung.com>2020-08-17 09:56:45 +0200
commitde982276b7bf6b68a2158ba4e7b2a0fe8e2cbceb (patch)
treef40dbbe24480cf70f244a4703d83edd988baad4b /src/lib/eina/eina_file_win32.c
parentb4e7f6de3b738d7472056bccb00e4e591f273010 (diff)
eina: Use INVALID_FILE_ATTRIBUTES instead of magic number
Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Reviewed-by: Vincent Torri <vincent.torri@gmail.com> Differential Revision: https://phab.enlightenment.org/D12106
Diffstat (limited to '')
-rw-r--r--src/lib/eina/eina_file_win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eina/eina_file_win32.c b/src/lib/eina/eina_file_win32.c
index 46449fdb57..9fa8e96a4d 100644
--- a/src/lib/eina/eina_file_win32.c
+++ b/src/lib/eina/eina_file_win32.c
@@ -104,7 +104,7 @@ _eina_file_win32_is_dir(const char *dir)
104 attr = GetFileAttributes(dir); 104 attr = GetFileAttributes(dir);
105#endif 105#endif
106 106
107 if (attr == 0xFFFFFFFF) 107 if (attr == INVALID_FILE_ATTRIBUTES)
108 return EINA_FALSE; 108 return EINA_FALSE;
109 109
110 if (!(attr & FILE_ATTRIBUTE_DIRECTORY)) 110 if (!(attr & FILE_ATTRIBUTE_DIRECTORY))