Mercurial > emacs
changeset 80359:f29e1d94dc81
(add_registry): Cast return value of alloca.
author | Jason Rumney <jasonr@gnu.org> |
---|---|
date | Thu, 20 Mar 2008 14:16:56 +0000 |
parents | 8d65de42337d |
children | 4f1a3c09c06a |
files | nt/addpm.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/nt/addpm.c Thu Mar 20 14:12:50 2008 +0000 +++ b/nt/addpm.c Thu Mar 20 14:16:56 2008 +0000 @@ -97,7 +97,7 @@ HKEY gtk_key = NULL; len = strlen (path) + 15; /* \bin\emacs.exe + terminator. */ - emacs_path = alloca (len); + emacs_path = (char *) alloca (len); sprintf (emacs_path, "%s\\bin\\emacs.exe", path); RegSetValueEx (hrootkey, NULL, 0, REG_SZ, emacs_path, len);