| author | ecalot
<ecalot> 2004-06-29 18:46:39 UTC |
| committer | ecalot
<ecalot> 2004-06-29 18:46:39 UTC |
| parent | 8d7411548ab6cadf60fceb7244e3166956d27fb0 |
| FP/src/res/resources.c | +2 | -2 |
diff --git a/FP/src/res/resources.c b/FP/src/res/resources.c index f0d4320..61896b2 100644 --- a/FP/src/res/resources.c +++ b/FP/src/res/resources.c @@ -110,7 +110,7 @@ void res_createFrames(tMemory data,int type,void** returnValue,int number) { case RES_TYPE_LVL: result=(tMemory*)malloc(sizeof(tMemory)); /* both sides are void* :) */ /* TODO: data->array must be copied or it wont be available after the file is closed */ - *result=(tMemory)data; + *result=data; printf("res_createFrames: Allocating resource[%d]\n",number); break; @@ -249,7 +249,7 @@ tData* resLoad(int id) { mReadCloseDatFile(); free(frames); - printf("resLoad: returning result pointer 0x%p\n",result); + /* printf("resLoad: returning result pointer 0x%p\n",result); */ return result; }