summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwhy <why@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-30 13:59:40 +0000
committerwhy <why@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-30 13:59:40 +0000
commit1a4c78d7c108a189683903b6a2a9d1ddf1753933 (patch)
tree99c10944580c59cb0d7190ac33677ef3b6199d9e
parentbddde75eb0929e24785d7c19eeaf67df8d1b01c2 (diff)
* ext/syck/yaml2byte.c: HASH const too long. Thanks, matz.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--ext/syck/yaml2byte.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 6219b07..9b3eeb5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Thu Oct 30 22:59:39 2003 why the lucky stiff <ruby-cvs@whytheluckystiff.net>
+
+ * ext/syck/yaml2byte.c: HASH const too long. Thanks, matz.
+
Thu Oct 30 19:13:53 2003 Akinori MUSHA <knu@iDaemons.org>
* ext/syck/MANIFEST: Add yamlbyte.h.
diff --git a/ext/syck/yaml2byte.c b/ext/syck/yaml2byte.c
index ed672ef..d55d108 100644
--- a/ext/syck/yaml2byte.c
+++ b/ext/syck/yaml2byte.c
@@ -27,7 +27,7 @@
/* Reinvent the wheel... */
#define CHUNKSIZE 64
-#define HASH ((long)0xCAFECAFECAFECAFE)
+#define HASH ((long)0xCAFECAFE)
typedef struct {
long hash;
char *buffer;