Fixing index of mod_data and use of intptr_t
Merge pull request #83 from Metaswitch/minor_ifc_bugfixes

{Reviewer: Mike} Fixing index of mod_data and use of intptr_t