Skip to content

Commit

Permalink
Fix compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
FBirth authored and jp9000 committed Sep 17, 2014
1 parent 8195735 commit 1a9d90c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OBSApi/Utility/XT_Windows.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ BOOL STDCALL OSFileExists(CTSTR lpFile)

bool STDCALL OSFileIsDirectory(CTSTR file)
{
return (GetFileAttributes(file) & FILE_ATTRIBUTE_DIRECTORY);
return (FILE_ATTRIBUTE_DIRECTORY == (GetFileAttributes(file) & FILE_ATTRIBUTE_DIRECTORY));
}

QWORD STDCALL OSGetFileModificationTime(String path)
Expand Down

0 comments on commit 1a9d90c

Please sign in to comment.