February 13, 2009 Explicit cast to convert | ||||
---|---|---|---|---|
| ||||
Attachments: | Hi All, I am having some issues trying to compile a program that i am writing to read sectors from a floppy disk. The program is partly written in C and partly in assembly language but I am having issues with the C when trying to reference to a memory location. When i try to output the characters located at the pointer it kicks up an error: need explicit cast to convert fot function parameter 1 to get from int * to int. I believe this is an issue with C/C++ restricting the functions available that i need to use because they may be dangerous. I am compiling using the parameters dmc filename -msd and have attached my code in case you might be able to help. Many thanks, dinklebaga |
Copyright © 1999-2021 by the D Language Foundation