FLTK logo

STR #641

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]
 

Return to Bugs & Features | Roadmap 1.1 | SVN ⇄ GIT ]

STR #641

Application:FLTK Library
Status:1 - Closed w/Resolution
Priority:3 - Moderate, e.g. unable to compile the software
Scope:1 - Specific to a machine/printer
Subsystem:Core Library
Summary:FL_Window.H warning 4244 on Windows
Version:1.1.6
Created By:jomier.unc
Assigned To:mike
Fix Version:1.1.7
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

No files


Trouble Report Comments:


Name/Time/Date Text  
 
#1 jomier.unc
13:49 Dec 04, 2004
When compiling on windows platform (Visual Studio).
fltk\FL\Fl_Window.H(91) : warning C4244: '=' : conversion from 'short' to 'uchar', possible loss of data

This is easily fix by casting the variables to uchar instead of short.
- dw=(short)e; dh=(short)f; aspect=(short)g;
+ dw=(uchar)e; dh=(uchar)f; aspect=(uchar)g;
 
 
#2 mike
19:28 Dec 05, 2004
Fixed in CVS - the anonymous CVS repository will be updated at midnight PST.  
     

Return to Bugs & Features ]

 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.