diff options
-rw-r--r-- | include/delphi/m_pluginupdater.inc | 3 | ||||
-rw-r--r-- | include/m_pluginupdater.h | 3 | ||||
-rw-r--r-- | plugins/PluginUpdater/src/Common.h | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/include/delphi/m_pluginupdater.inc b/include/delphi/m_pluginupdater.inc index f47fe09aeb..c19e1c1ac7 100644 --- a/include/delphi/m_pluginupdater.inc +++ b/include/delphi/m_pluginupdater.inc @@ -28,8 +28,9 @@ type pPUHashItem = ^TPUHashItem;
TPUHashItem = record
fileName :PWideChar; // file name
- fileCrc :int; // zip's crc
+ fileCrc :DWORD; // zip's crc
hash :array [0..32] of char; // file's md5 hash
+ selected :byte;
end;
const
diff --git a/include/m_pluginupdater.h b/include/m_pluginupdater.h index c0a897bda1..4854a09214 100644 --- a/include/m_pluginupdater.h +++ b/include/m_pluginupdater.h @@ -28,7 +28,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. typedef struct {
TCHAR *m_fileName;
DWORD m_zipCrc;
- char m_hash;
+ char m_hash[32+1];
+ BYTE m_selected;
}
PU_HASH_ITEM;
diff --git a/plugins/PluginUpdater/src/Common.h b/plugins/PluginUpdater/src/Common.h index 151904a83d..ffdb9a0557 100644 --- a/plugins/PluginUpdater/src/Common.h +++ b/plugins/PluginUpdater/src/Common.h @@ -142,8 +142,9 @@ struct ServListEntry }
TCHAR *m_name;
- int m_crc;
+ DWORD m_crc;
char m_szHash[32+1];
+ BYTE m_selected;
};
typedef OBJLIST<ServListEntry> SERVLIST;
|