Altera_Forum
Honored Contributor
9 years agoProblem conversion 'unsigned char' to 'alt_u32'
Hello
I try to follow 'Using Triple-Speed Ethernet on DE2-115 Boards'. But i encounters error in compiling C file like below 'cannot convert 'unsigned char*' to 'alt_u32* {aka long unsigned int*}' for argument '3' to 'void alt_avalon_sgdma_construct_mem_to_stream_desc(alt_sgdma_descriptor*, alt_sgdma_descriptor*, alt_u32*, alt_u16, int, int, int, alt_u8)' tse_tutorial.cpp /tse_tutorial line 135 C/C++ Problem' The code which i use is provided by this document. I cannot fix error and expect what is wrong. please help me ㅠ.ㅠ Thank you ps.I uploads code and error capture files.