diff options
Diffstat (limited to 'source3/lib/nss_wrapper')
-rw-r--r-- | source3/lib/nss_wrapper/nss_wrapper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/nss_wrapper/nss_wrapper.c b/source3/lib/nss_wrapper/nss_wrapper.c index 5bf7ebda4f..5d443facd3 100644 --- a/source3/lib/nss_wrapper/nss_wrapper.c +++ b/source3/lib/nss_wrapper/nss_wrapper.c @@ -239,7 +239,7 @@ static bool nwrap_parse_file(struct nwrap_cache *nwrap) goto failed; } - buf = malloc(nwrap->st.st_size + 1); + buf = (uint8_t *)malloc(nwrap->st.st_size + 1); if (!buf) { NWRAP_ERROR(("%s: malloc failed\n",__location__)); goto failed; |