Fix compiler warning under Visual Studio.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12481 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
784ff3b52d
commit
2678cb64f9
@ -103,7 +103,7 @@ static char *svg_inflate(const char *fname) {
|
||||
gzFile gzf = (gzFile)Fl_SVG_Image::fl_gzopen(fname);
|
||||
if (!gzf) return NULL;
|
||||
int l;
|
||||
bool direct = gzdirect(gzf);
|
||||
int direct = gzdirect(gzf);
|
||||
long out_size = direct ? size + 1 : 3*size + 1;
|
||||
char *out = (char*)malloc(out_size);
|
||||
char *p = out;
|
||||
|
Loading…
Reference in New Issue
Block a user