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:
Paul Davis
2012-03-02 22:53:00 +00:00
parent 93cc47cae2
commit da13032eda
4 changed files with 6 additions and 6 deletions

View File

@@ -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);