6674226: Warning errors in freetypecheck
Just corrected some C code to remove warning errors from gcc. Reviewed-by: tbell
This commit is contained in:
parent
c0165a4ae8
commit
65cbc8719f
@ -26,13 +26,16 @@
|
|||||||
/* Test program for freetype sanity check.
|
/* Test program for freetype sanity check.
|
||||||
Prints "Failed" messages to STDOUT if check fails. */
|
Prints "Failed" messages to STDOUT if check fails. */
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#include "ft2build.h"
|
#include "ft2build.h"
|
||||||
#include FT_FREETYPE_H
|
#include FT_FREETYPE_H
|
||||||
|
|
||||||
#define QUOTEMACRO(x) QUOTEME(x)
|
#define QUOTEMACRO(x) QUOTEME(x)
|
||||||
#define QUOTEME(x) #x
|
#define QUOTEME(x) #x
|
||||||
|
|
||||||
int main(char** argv, int argc) {
|
int main(int argc, char** argv) {
|
||||||
char v[50];
|
char v[50];
|
||||||
FT_Int major, minor, patch;
|
FT_Int major, minor, patch;
|
||||||
FT_Library library;
|
FT_Library library;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user