git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1842
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
+2007-11-04 Michael Poole <mdpoole@troilus.org>
+
+ * ircd/umkpasswd.c (sum): Typecast buffer to avoid a warning about
+ the parameter type being passed to strlen().
+
2007-11-04 Michael Poole <mdpoole@troilus.org>
* doc/example.conf: Document /LIST M as controlled by list_chan.
MD5Init(&context);
while ((fgets((char*)buffer, sizeof(buffer), file)) != NULL)
{
- MD5Update(&context, buffer, strlen(buffer));
+ MD5Update(&context, buffer, strlen((char*)buffer));
str = strstr((char*)buffer, "$Id: ");
if (str != NULL)
{