So this is what I got so far.
The warning is generated from the first argument I think. This is the gcc warning: warning: pointer targets in initialization differ in signedness
How could this be solved? Any ideas.
Also, are there any easier way to assign a c-string to an FSRef?
I have tried this, which didn´t work at all unfortunately.
Code:
UInt8 const *inFile = "drBcrash.wav";
FSRef outFile;
FSPathMakeRef(inFile, &outFile, NULL);
The warning is generated from the first argument I think. This is the gcc warning: warning: pointer targets in initialization differ in signedness
How could this be solved? Any ideas.
Also, are there any easier way to assign a c-string to an FSRef?
I have tried this, which didn´t work at all unfortunately.
Code:
FSRef inFile;
inFile.hidden = CFSTR("drBcrash.wav");