LIBFML_CAT:1: ERROR: Fielded buffer not aligned
804750Oct 12 2010 — edited Oct 13 2010Hi,
Can anyone help me with this error.
LIBFML_CAT:1: ERROR: Fielded buffer not aligned
I receive this error while initializing a FML32 buffer. Following is the code snippet
tempBuf=(FBFR32 *) tpalloc("FML32",NULL,(FLDLEN32)Fneeded32(19, sizeof(vi_t)));
if (tempBuf == NULL)
{
printf("\nError allocating tempBuf<%s>\n", tpstrerror(tperrno));
exit(1);
}
if (Finit32(tempBuf, (FLDLEN32)Fneeded32(19, Fsizeof(tempBuf)) == -1))
{
printf("\nError initializing tempBuf<%s>\n", Fstrerror32(Ferror32));
exit(1);
}
Thanks.