On 29/01/07, Vinicius Pacheco <[EMAIL PROTECTED]> wrote:
> Thanks for the previous answer, but when I compiled the agent with you
> suggestions, I got the following error:
> --------------------------------------------------------------
>  "warning: passing argument 1 of 'netsnmp_table_data_set_find_column'
>      from incompatible pointer type"
> -----This warning is refering to the following suggested line of code:
> netsnmp_table_data_set_storage *data =
>    netsnmp_table_data_set_find_column( row, 2);
> --------------------------------------------------------------

Sorry - my mistake.
Try:

netsnmp_table_data_set_storage *data =
     netsnmp_table_data_set_find_column(
        (netsnmp_table_data_set_storage *)row->data, 2);

Dave

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to