Allocate correct number of bytes for EABuffer.
Modified: trunk/reactos/lib/msafd/misc/dllmain.c
_____
Modified: trunk/reactos/lib/msafd/misc/dllmain.c
--- trunk/reactos/lib/msafd/misc/dllmain.c 2005-01-09 08:20:28 UTC
(rev 12904)
+++ trunk/reactos/lib/msafd/misc/dllmain.c 2005-01-09 11:38:07 UTC
(rev 12905)
@@ -133,7 +133,7 @@
SizeOfEA = SizeOfPacket + sizeof(FILE_FULL_EA_INFORMATION) +
AFD_PACKET_COMMAND_LENGTH;
/* Set up EA Buffer */
- EABuffer = HeapAlloc(GlobalHeap, 0, (SIZE_T)&SizeOfEA);
+ EABuffer = HeapAlloc(GlobalHeap, 0, SizeOfEA);
EABuffer->NextEntryOffset = 0;
EABuffer->Flags = 0;
EABuffer->EaNameLength = AFD_PACKET_COMMAND_LENGTH;
Show replies by date