--- IO-AIO/AIO.xs 2009/06/06 18:19:35 1.142 +++ IO-AIO/AIO.xs 2009/06/12 16:48:08 1.144 @@ -256,8 +256,8 @@ } av_store (avent, 0, namesv); - av_store (avent, 1, IVSIZE >= 8 ? newSVuv (ent->inode) : newSVnv (ent->inode)); - av_store (avent, 2, SvREFCNT_inc (sv_type [ent->type])); + av_store (avent, 1, SvREFCNT_inc (sv_type [ent->type])); + av_store (avent, 2, IVSIZE >= 8 ? newSVuv (ent->inode) : newSVnv (ent->inode)); av_store (av, i, newRV_noinc ((SV *)avent)); } @@ -296,15 +296,15 @@ char sym [64]; int symlen; - symlen = snprintf (sym, sizeof (sym), "fd#%d", req->result); + symlen = snprintf (sym, sizeof (sym), "fd#%u", (unsigned int)req->result); gv_init (gv, stash, sym, symlen, 0); symlen = snprintf ( sym, sizeof (sym), - "%s&=%d", + "%s&=%u", flags == O_RDONLY ? "<" : flags == O_WRONLY ? ">" : "+<", - req->result + (unsigned int)req->result ); if (do_open (gv, sym, symlen, 0, 0, 0, 0))