fixes for 64 bit OS X build (c/o david robillard); tested on Lion & Tiger
git-svn-id: svn://localhost/ardour2/branches/3.0@11585 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
@@ -91,7 +91,7 @@ CAComponent::~CAComponent ()
|
||||
OSStatus CAComponent::GetResourceVersion (UInt32 &outVersion) const
|
||||
{
|
||||
bool versionFound = false;
|
||||
short componentResFileID = kResFileNotOpened;
|
||||
ResFileRefNum componentResFileID = kResFileNotOpened;
|
||||
OSStatus result;
|
||||
short thngResourceCount;
|
||||
|
||||
@@ -247,7 +247,7 @@ void _ShowCF (FILE* file, CFStringRef str)
|
||||
|
||||
void CAComponent::Print(FILE* file) const
|
||||
{
|
||||
fprintf (file, "CAComponent: 0x%X", int(Comp()));
|
||||
fprintf (file, "CAComponent: %p", (void*)Comp());
|
||||
if (mManuName) {
|
||||
fprintf (file, ", Manu:"); _ShowCF (file, mManuName);
|
||||
if (mAUName) fprintf (file, ", Name:"); _ShowCF (file, mAUName);
|
||||
|
||||
Reference in New Issue
Block a user