r23779: Change from v2 or later to v3 or later.
[idra/samba.git] / source3 / passdb / login_cache.c
index 5231af8a82b7c3d6e9f6cbb5161da288ba7e919c..0454ef9524018a478aa3327ca47ef39f864d7938 100644 (file)
@@ -5,7 +5,7 @@
       
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 2 of the License, or
+   the Free Software Foundation; either version 3 of the License, or
    (at your option) any later version.
    
    This program is distributed in the hope that it will be useful,
@@ -139,7 +139,7 @@ BOOL login_cache_write(const struct samu *sampass, LOGIN_CACHE entry)
                         entry.acct_ctrl,
                         entry.bad_password_count,
                         entry.bad_password_time);
-       databuf.dptr = SMB_MALLOC_ARRAY(char, databuf.dsize);
+       databuf.dptr = SMB_MALLOC_ARRAY(uint8, databuf.dsize);
        if (!databuf.dptr) {
                SAFE_FREE(keystr);
                return False;