| Index: third_party/yasm/patched-yasm/tools/genperf/genperf.c
|
| ===================================================================
|
| --- third_party/yasm/patched-yasm/tools/genperf/genperf.c (revision 71129)
|
| +++ third_party/yasm/patched-yasm/tools/genperf/genperf.c (working copy)
|
| @@ -1,4 +1,4 @@
|
| -/* $Id: genperf.c 1959 2007-09-18 05:38:06Z peter $
|
| +/* $Id: genperf.c 2235 2009-11-03 05:15:37Z peter $
|
| *
|
| * Generate Minimal Perfect Hash (genperf)
|
| *
|
| @@ -234,7 +234,7 @@
|
| /* The hash function body */
|
| fprintf(out, " const struct %s *ret;\n", struct_name);
|
| for (i=0; i<final.used; ++i)
|
| - fprintf(out, final.line[i]);
|
| + fprintf(out, "%s", final.line[i]);
|
| fprintf(out, " if (rsl >= %lu) return NULL;\n", nkeys);
|
| fprintf(out, " ret = &pd[rsl];\n");
|
| fprintf(out, " if (strcmp(key, ret->name) != 0) return NULL;\n");
|
|
|