* fix multiple compiler warnings...
[citadel.git] / webcit / context_loop.c
index 3d60c556673efa8fc755a4306a1611ad8139f000..f8a9966d0c48140a8df58684b7d92f4027379018 100644 (file)
@@ -179,7 +179,7 @@ wcsession *FindSession(wcsession **wclist, ParsedHttpHdrs *Hdr, pthread_mutex_t
                                TheSession = sptr;
                        }
                        if (TheSession == NULL)
-                               syslog(1, "found sessionkey [%ld], but credentials for [%s|%s] didn't match\n",
+                               syslog(1, "found sessionkey [%d], but credentials for [%s|%s] didn't match\n",
                                        Hdr->HR.SessionKey,ChrPtr(Hdr->c_username), ChrPtr(sptr->wc_username));
                        break;
                case AUTH_COOKIE:
@@ -195,8 +195,8 @@ wcsession *FindSession(wcsession **wclist, ParsedHttpHdrs *Hdr, pthread_mutex_t
        }
        CtdlLogResult(pthread_mutex_unlock(ListMutex));
        if (TheSession == NULL)
-               syslog(1, "didn't find sessionkey [%ld] for user [%s]\n",
-                       Hdr->HR.SessionKey,ChrPtr(Hdr->c_username));
+               syslog(1, "didn't find sessionkey [%d] for user [%s]\n",
+                       Hdr->HR.SessionKey, ChrPtr(Hdr->c_username));
        return TheSession;
 }