From 02831b6f6522837c79248166c320c104612da73c Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sun, 20 Mar 2016 02:42:42 -0500 Subject: [PATCH] modules: warning cleanups --- ircd/modules.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ircd/modules.c b/ircd/modules.c index b10b7379..5638d150 100644 --- a/ircd/modules.c +++ b/ircd/modules.c @@ -1033,11 +1033,11 @@ load_a_module(const char *path, int warn, int origin, int core) } sendto_realops_snomask(SNO_GENERAL, L_ALL, - "Module %s [version: %s; MAPI version: %d; origin: %s; description: \"%s\"] loaded at 0x%lx", + "Module %s [version: %s; MAPI version: %d; origin: %s; description: \"%s\"] loaded at %p", mod_basename, ver, MAPI_VERSION(*mapi_version), o, description, - (unsigned long) tmpptr); - ilog(L_MAIN, "Module %s [version: %s; MAPI version: %d; origin: %s; description: \"%s\"] loaded at 0x%lx", - mod_basename, ver, MAPI_VERSION(*mapi_version), o, description, (unsigned long) tmpptr); + (void *) tmpptr); + ilog(L_MAIN, "Module %s [version: %s; MAPI version: %d; origin: %s; description: \"%s\"] loaded at %p", + mod_basename, ver, MAPI_VERSION(*mapi_version), o, description, (void *) tmpptr); } rb_free(mod_basename); return 0;