# HG changeset patch # User dbateman # Date 1189212609 0 # Node ID 62cf34f42539d13f6f1207ec18b77f4e74b5fe93 # Parent cd2c6a69a70d18ecb3156c0c556ae47c8a8db24e [project @ 2007-09-08 00:50:09 by dbateman] diff --git a/src/DLD-FUNCTIONS/convhulln.cc b/src/DLD-FUNCTIONS/convhulln.cc --- a/src/DLD-FUNCTIONS/convhulln.cc +++ b/src/DLD-FUNCTIONS/convhulln.cc @@ -115,11 +115,11 @@ boolT ismalloc = False; - OCTAVE_LOCAL_BUFFER (char, flags, 250); + OCTAVE_LOCAL_BUFFER(char, flags, 250); // hmm, lots of options for qhull here // QJ guarantees that the output will be triangles - snprintf(flags, sizeof(flags), "qhull QJ %s", options.c_str()); + snprintf(flags, 250, "qhull QJ %s", options.c_str()); if (!qh_new_qhull (dim, n, pt_array, ismalloc, flags, NULL, stderr)) {