View Single Post
  #10 (permalink)  
Old December 28th, 2001
Ramihyn
Guest
 
Posts: n/a
Default

You may have a problem with variable alignment if you created a structure for the descriptor and fill the members of it. Ofc it depends on the type of variables you used, your compiler and it's alignment.

If you created your own structure (typedef struct {} in C), you may want to add a safety check at the initialisation code which tests for the sizeof() of the struct.
Reply With Quote