summaryrefslogtreecommitdiff
path: root/Build/source/libs/potrace/potrace-src/src/backend_geojson.c
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2017-02-22 04:06:22 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2017-02-22 04:06:22 +0000
commit8a945d2c859254dbb49f6d6b109753fec7072fcb (patch)
tree6d5683c9b990eb7d6d35f6c462626743aafad53c /Build/source/libs/potrace/potrace-src/src/backend_geojson.c
parent7567365dfffb5c704f3869a534ac5d8d8f8a016a (diff)
potrace 1.14
git-svn-id: svn://tug.org/texlive/trunk@43298 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/potrace/potrace-src/src/backend_geojson.c')
-rw-r--r--Build/source/libs/potrace/potrace-src/src/backend_geojson.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/libs/potrace/potrace-src/src/backend_geojson.c b/Build/source/libs/potrace/potrace-src/src/backend_geojson.c
index d5318581f11..b929653d97c 100644
--- a/Build/source/libs/potrace/potrace-src/src/backend_geojson.c
+++ b/Build/source/libs/potrace/potrace-src/src/backend_geojson.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001-2015 Peter Selinger.
+/* Copyright (C) 2001-2017 Peter Selinger.
This file is part of Potrace. It is free software and it is covered
by the GNU General Public License. See the file COPYING for details. */
@@ -30,7 +30,7 @@ static inline double bezier(double t, double x0, double x1, double x2, double x3
return s*s*s*x0 + 3*(s*s*t)*x1 + 3*(t*t*s)*x2 + t*t*t*x3;
}
-static char *format = "%f";
+static const char *format = "%f";
/* Convert a floating-point number to a string, using a pre-determined
format. The format must be previously set with set_format().