diff options
author | Eugene Sandulenko | 2007-02-13 19:51:27 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2007-02-13 19:51:27 +0000 |
commit | 8405eca0ea75414922f8b373e30467488e059b62 (patch) | |
tree | 4b0753e2c4954f6977b5da3fa33a306f64bc7937 /engines/scumm | |
parent | 4fc5f8e8be520e3193251db5af051471eaa6a462 (diff) | |
download | scummvm-rg350-8405eca0ea75414922f8b373e30467488e059b62.tar.gz scummvm-rg350-8405eca0ea75414922f8b373e30467488e059b62.tar.bz2 scummvm-rg350-8405eca0ea75414922f8b373e30467488e059b62.zip |
Fix warnings
svn-id: r25554
Diffstat (limited to 'engines/scumm')
-rw-r--r-- | engines/scumm/he/resource_he.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/he/resource_he.cpp b/engines/scumm/he/resource_he.cpp index 3e67eb2e8f..9f372f0c1a 100644 --- a/engines/scumm/he/resource_he.cpp +++ b/engines/scumm/he/resource_he.cpp @@ -631,7 +631,7 @@ Win32ResExtractor::WinResource *Win32ResExtractor::list_pe_resources(WinLibrary RETURN_IF_BAD_POINTER(NULL, dirent[c]); wr[c].this_ = pe_res; wr[c].level = level; - wr[c].is_directory = (FROM_LE_32(dirent[c].offset_to_data) & IMAGE_RESOURCE_DATA_IS_DIRECTORY); + wr[c].is_directory = ((FROM_LE_32(dirent[c].offset_to_data) & IMAGE_RESOURCE_DATA_IS_DIRECTORY) != 0); wr[c].children = fi->first_resource + (FROM_LE_32(dirent[c].offset_to_data) & ~IMAGE_RESOURCE_DATA_IS_DIRECTORY); /* fill in wr->id, wr->numeric_id */ |