Projects
Multimedia
synfig
synfig-fix-rpmlint.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File synfig-fix-rpmlint.patch of Package synfig (Revision 10)
Currently displaying revision
10
,
Show latest
diff -ur synfig-0.61.09.orig/src/modules/mod_bmp/mptr_bmp.cpp synfig-0.61.09/src/modules/mod_bmp/mptr_bmp.cpp --- synfig-0.61.09.orig/src/modules/mod_bmp/mptr_bmp.cpp 2008-02-24 06:16:03.000000000 +0100 +++ synfig-0.61.09/src/modules/mod_bmp/mptr_bmp.cpp 2009-09-05 13:57:24.000000000 +0200 @@ -147,7 +147,7 @@ return false; } - if(fread(&fileheader.bfSize, 1, sizeof(synfig::BITMAPFILEHEADER)-4, file)!=sizeof(synfig::BITMAPFILEHEADER)-4) + if(fread(&fileheader.bfSize, 1, sizeof(unsigned long), file)!=sizeof(unsigned long)) { String str("bmp_mptr::get_frame(): "+strprintf(_("Failure while reading BITMAPFILEHEADER from %s"),filename.c_str())); if(cb)cb->error(str);
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.