Revision: 28559
http://sourceforge.net/p/bibdesk/svn/28559
Author: hofman
Date: 2024-01-06 17:55:29 +0000 (Sat, 06 Jan 2024)
Log Message:
-----------
used wrong type
Modified Paths:
--------------
trunk/bibdesk/BibAuthor.m
trunk/bibdesk/Bibdesk_Prefix.pch
Modified: trunk/bibdesk/BibAuthor.m
===================================================================
--- trunk/bibdesk/BibAuthor.m 2024-01-06 17:53:06 UTC (rev 28558)
+++ trunk/bibdesk/BibAuthor.m 2024-01-06 17:55:29 UTC (rev 28559)
@@ -248,7 +248,7 @@
if (matchAuthorNamesExactly)
return [self hash];
// fuzzyEqual: is based on fuzzyName, so also hash must be based on that
- return BDCaseInsensitiveStringHash((__bridge CFType)fuzzyName);
+ return BDCaseInsensitiveStringHash((__bridge void *)fuzzyName);
}
- (NSComparisonResult)sortCompare:(BibAuthor *)otherAuth{ // used for
tableview sorts; omits von and jr parts
Modified: trunk/bibdesk/Bibdesk_Prefix.pch
===================================================================
--- trunk/bibdesk/Bibdesk_Prefix.pch 2024-01-06 17:53:06 UTC (rev 28558)
+++ trunk/bibdesk/Bibdesk_Prefix.pch 2024-01-06 17:55:29 UTC (rev 28559)
@@ -77,9 +77,9 @@
} \
} while (0)
- #define BDSKDESTROY(variable) variable = nil
+ #define BDSKDESTROY(variable) do { [variable release]; variable = nil; }
while (0)
#define BDSKCFDESTROY(variable) do { if (variable) CFRelease(variable);
variable = NULL; } while (0)
#define BDSKFREEDESTROY(variable) do { if (variable) free((void
*)variable); variable = NULL; } while (0)
- #define BDSKDISPATCHDESTROY(variable) variable = nil
+ #define BDSKDISPATCHDESTROY(variable) do { if (variable)
dispatch_release(variable); variable = NULL; } while (0)
#endif
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit