Skip to contentSkip to conversation

warning about "assignment from incompatible pointer type"

DISCUSSION Thomas Hood 1 participant 1 message Nov 17, 2005

lore
Share & tools
lore
#0 lore raw

Warning re: alsa-lib-1.0.10/src/seq/seq.c

seq.c:4438: warning: assignment from incompatible pointer type

The line in question is

ev = ep

where the declarations were

snd_seq_event_t *ev

char *ep

Given that snd_seq_event_t seems to be typedef'ed to unsigned char in seq_event.h, it would seem that a cast should suffice to eliminate the warning.

Signature · 9 lines
Thomas Hood



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click