ALT Linux repos
S: | 2.13.2-alt1 |
5.0: | 2.3.9-alt2 |
4.1: | 2.3.11-alt1.M41.1 |
4.0: | 2.3.6-alt1.M40.1 |
+updates: | 2.3.6-alt1.M40.1 |
Group :: System/Libraries
RPM: libfreetype
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: ft2demos-2.6.2-alt-snprintf.patch
Download
Download
--- freetype-2.6.2/ft2demos/src/ttdebug.c.snprintf 2015-10-09 10:14:19.000000000 +0300
+++ freetype-2.6.2/ft2demos/src/ttdebug.c 2016-01-12 15:34:47.000000000 +0300
@@ -1910,11 +1910,11 @@
FT_Library_Version( library, &major, &minor, &patch );
- offset = snprintf( version_string, 64,
+ offset = snprintf( version_string, sizeof(version_string),
"ttdebug (FreeType) %d.%d",
major, minor );
if ( patch )
- offset = snprintf( version_string + offset, (size_t)( 64 - offset ),
+ offset = snprintf( version_string + offset, sizeof(version_string) - offset,
".%d",
patch );
}