]> granicus.if.org Git - apache/commit
If we don't have a prototype for crypt() we shouldn't
authorJeff Trawick <trawick@apache.org>
Wed, 12 Apr 2006 01:58:08 +0000 (01:58 +0000)
committerJeff Trawick <trawick@apache.org>
Wed, 12 Apr 2006 01:58:08 +0000 (01:58 +0000)
commit7eb56e278685bd7db177daebdcad8ddde908831e
tree90e781d4da5477722369aba7cdeca852d7f09060
parent6bc545dd7baf07c7ef26dd2c8d6987c1a7b87e08
If we don't have a prototype for crypt() we shouldn't
be calling it.

Casting to the desired pointer return type hides the
truncation of the return value when sizeof(ptr) >
sizeof(int) and no prototype was included.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@393365 13f79535-47bb-0310-9956-ffa450edef68
support/htdbm.c
support/htpasswd.c