Skip to content

Commit f04346b

Browse files
committed
Fix VC6 compile error
1 parent 171e74c commit f04346b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Core/Libraries/Source/WWVegas/WWLib/refcount.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ struct ActiveRefStruct
6060
** point it at the new object, and add-ref the new object (if its not null...)
6161
*/
6262
#define REF_PTR_SET(dst,src) { if (src) (src)->Add_Ref(); if (dst) (dst)->Release_Ref(); (dst) = (src); }
63-
#define REF_PTR_RELEASE(x) { if (x) x->Release_Ref(); x = NULL; }
63+
#define REF_PTR_RELEASE(x) { if (x) x->Release_Ref(); x = 0; }
6464

6565

6666
/*

0 commit comments

Comments
 (0)