Cannot implicitly convert expression (&sbuf) of type char [1024] to IOREQ *

Nemanja Boric via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Nov 29 07:57:32 PST 2016


On Tuesday, 29 November 2016 at 15:55:57 UTC, Nemanja Boric wrote:
> just
>
>  struct IOREQ {
>  	SHORT	fc;			/* function code */
>  	SHORT	rs;			/* return code */
>  	INT	size;			/* size of this request, including */
>  	SHORT	src;			/* source */
>  	....
>  	INT	argv[1];		/* list of arguments */
>  } IOREQ;
>

Sorry, there's an extra IOREQ before and semicolon.


   struct IOREQ {
   	SHORT	fc;			/* function code */
   	SHORT	rs;			/* return code */
   	INT	size;			/* size of this request, including */
   	SHORT	src;			/* source */
   	....
   	INT	argv[1];		/* list of arguments */
   }


More information about the Digitalmars-d-learn mailing list