Imported OpenTracker-current.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15764 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2005-12-31 12:34:37 +00:00
parent aa9196b83e
commit a615ec8f86
9 changed files with 293 additions and 196 deletions
+1 -1
View File
@@ -454,7 +454,7 @@ QueryEntryListCollection::QueryEntryListCollection(Model *model, BHandler *targe
if (model->Node()->GetAttrInfo(kAttrQueryVolume, &info) == B_OK) {
char *buffer = NULL;
if ((buffer = (char *)malloc(info.size)) != NULL
if ((buffer = (char *)malloc((size_t)info.size)) != NULL
&& model->Node()->ReadAttr(kAttrQueryVolume, B_MESSAGE_TYPE, 0, buffer,
(size_t)info.size) == info.size) {