projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb9cffd
)
* lib/allocsa.h (safe_alloca): Avoid compiler warning.
author
Eric Blake
<ebb9@byu.net>
Mon, 28 May 2007 15:10:23 +0000
(15:10 +0000)
committer
Eric Blake
<ebb9@byu.net>
Mon, 28 May 2007 15:10:23 +0000
(15:10 +0000)
ChangeLog
patch
|
blob
|
history
lib/allocsa.h
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index 53c446370f01b3d167db113f191cfdb2aea0990d..4b4bfcf6ad0c7bfa840391163079c8e181436145 100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,3
+1,7
@@
+2007-05-28 Eric Blake <ebb9@byu.net>
+
+ * lib/allocsa.h (safe_alloca): Avoid compiler warning.
+
2007-05-28 Bruno Haible <bruno@clisp.org>
* modules/fseek-tests: New file.
diff --git
a/lib/allocsa.h
b/lib/allocsa.h
index 6592b359c0d1e54fa67796034edc89c59b3b95ef..ffee917eea9381a4618daf64ac7e564ebfb0b026 100644
(file)
--- a/
lib/allocsa.h
+++ b/
lib/allocsa.h
@@
-46,7
+46,7
@@
extern "C" {
This must be a macro, not an inline function. */
# define safe_alloca(N) ((N) < 4032 ? alloca (N) : NULL)
#else
-# define safe_alloca(N) ((N), NULL)
+# define safe_alloca(N) ((
void) (
N), NULL)
#endif
/* allocsa(N) is a safe variant of alloca(N). It allocates N bytes of