string fix up
[ardour.git] / libs / appleutility / CAComponent.cpp
index 700d9e2b3ed10c9069114958f16c8749df72ccdf..10c253c7f2152d98bcf3ec05dd16a94dd597bbc9 100644 (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);