Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 6595
Collapse All | Expand All

(-)/var/tmp/portage/glademm-1.1.1b/work/glademm-1.1.1b/src/writers/image.cc (-2 / +2 lines)
Lines 168-176 void Gtk_Image::EmbedImage(CxxFile &f,co Link Here
168
{  f.Declaration("static const unsigned char ");
168
{  f.Declaration("static const unsigned char ");
169
   f << Configuration.CName(pixbuf) << "_data[]";
169
   f << Configuration.CName(pixbuf) << "_data[]";
170
   f.Assignment().StartBlock().EndLine();
170
   f.Assignment().StartBlock().EndLine();
171
   {  ifstream is((Configuration.pixmap_dir+"/"+pixbuf).c_str());
171
   {  std::ifstream is((Configuration.pixmap_dir+"/"+pixbuf).c_str());
172
      while (is.good())
172
      while (is.good())
173
      {  unsigned char buf[16];
173
      {  /* unsigned ... hmmm g++3.1 does not like this ... */ char buf[16];
174
         is.read(buf,sizeof buf);
174
         is.read(buf,sizeof buf);
175
         size_t read=is.gcount();
175
         size_t read=is.gcount();
176
         f << '\t';
176
         f << '\t';

Return to bug 6595