diff --git a/ChangeLog b/ChangeLog index 44b1ded..aa8a5e8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-07-04 David Wetzel + * EOAccess/EODatabaseContext.m + use memset in place of bzero + (as suggested by Tim Kack) + 2010-07-04 David Wetzel * EOAccess/EOModelGroup.m add include diff --git a/EOAccess/EODatabaseContext.m b/EOAccess/EODatabaseContext.m index a339945..2c8dc3f 100644 --- a/EOAccess/EODatabaseContext.m +++ b/EOAccess/EODatabaseContext.m @@ -6305,7 +6305,7 @@ compareUsingEntityNames(id left, id right, void* vpSortOrders) unsigned char bytes[24]; id byteValue = nil; - bzero(&bytes, sizeof(bytes)); + memset(&bytes, 0, sizeof(bytes)); [EOTemporaryGlobalID assignGloballyUniqueBytes:&bytes[0]];