ciao a tutti ho il seguente problema con un puntatore qualcuno sa come risolverlo....



codice:

static tcb_t tcbtable[10];

typedef unsigned int status_t;			/* thread status */
typedef unsigned char tid_t;			/* thread identifier */
typedef struct tcb_t {				/* thread control block */
	tid_t			tid;		/* thread identifier */
	status_t		status; 	/* thread's status */
	struct tcb_t		*t_next,	/* pointer to next entry in the thread queue */
				*t_prev,	/* pointer to previous entry in the thread queue */
				*inbox;		/* threads waiting to send a message to this thread */
	/* other fields will be added during phase2 development */
} tcb_t;

......................

while((*t).tid != tcbtable[i].tid){
			tcbtable[i]=tcbtable[i]->t_next; mi da errore in questo punto.
			count++;
		}
mi da il seguente errore

p.c: In function ‘freeTcb’:
p.c:48: error: invalid type argument of ‘->’
p.c:53: warning: assignment makes integer from pointer without a cast

ciao a tutti.