mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-02-21 02:20:55 +00:00
use memset in place of bzero
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30921 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
385770a9a1
commit
0f1ee27359
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2010-07-04 David Wetzel <dave@turbocat.de>
|
||||||
|
* EOAccess/EODatabaseContext.m
|
||||||
|
use memset in place of bzero
|
||||||
|
(as suggested by Tim Kack)
|
||||||
|
|
||||||
2010-07-04 David Wetzel <dave@turbocat.de>
|
2010-07-04 David Wetzel <dave@turbocat.de>
|
||||||
* EOAccess/EOModelGroup.m
|
* EOAccess/EOModelGroup.m
|
||||||
add include
|
add include
|
||||||
|
|
|
@ -6305,7 +6305,7 @@ compareUsingEntityNames(id left, id right, void* vpSortOrders)
|
||||||
unsigned char bytes[24];
|
unsigned char bytes[24];
|
||||||
id byteValue = nil;
|
id byteValue = nil;
|
||||||
|
|
||||||
bzero(&bytes, sizeof(bytes));
|
memset(&bytes, 0, sizeof(bytes));
|
||||||
|
|
||||||
[EOTemporaryGlobalID assignGloballyUniqueBytes:&bytes[0]];
|
[EOTemporaryGlobalID assignGloballyUniqueBytes:&bytes[0]];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue