summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Fix build with GCC 10John-Mark Bell2022-06-021-1/+1
| | | | | | | | | | | | | | GCC 10 objected to the attempt to pass-through RUfl errors (this was safe, given rufl_code and pencil_code have identical values, even though they are strictly different types). Fix this by applying explicit casts. Additionally, GCC 10 warned about the use of strncpy where the number of bytes to copy was the same as the destination buffer size. In this particular case, this was safe (as there is no terminating NUL to be applied here, given the field is fixed width in the Draw file format). Fix this by using memcpy instead, as this better reflects the intent.
* Port to core buildsystemreleases/0.0.1John Mark Bell2010-01-061-0/+89
svn path=/trunk/pencil/; revision=9793