a.OnCompare(null);
a.OnSaveEdit(null,0);
a.OnEdit(null,null,0,0,0,20,0);
- a.OnDisplay(null,0,0,0,0,0,0);
a.OnGetDataFromString(null);
}
static void JPEG_TermDestination(j_compress_ptr cinfo)
{
DestinationManager * dest = (DestinationManager *) cinfo->dest;
- uint datacount = OUTPUT_BUF_SIZE - dest->pub.free_in_buffer;
+ uint datacount = (uint)(OUTPUT_BUF_SIZE - dest->pub.free_in_buffer);
if (datacount > 0)
{
bool NotifySelect(DropBox control, DataRow row, Modifiers mods)
{
- fileFilter = row ? row.tag : 0;
+ fileFilter = (int)(row ? row.tag : 0);
ListFiles();
return true;
}
bool NotifySelect(DropBox control, DataRow row, Modifiers mods)
{
char * selectedFileName = null;
- fileType = row ? row.tag : 0;
+ fileType = (int)(row ? row.tag : 0);
if(style == save && types && types[fileType].typeExtension)
{
if(getNameFromListBox)
}
};
- public virtual void Window::NotifySelectListRow(ListSection listSection, uint id);
+ public virtual void Window::NotifySelectListRow(ListSection listSection, uint64 id);
public void SelectListRow(DataRow row)
{
// Time startTime = GetTime();
if(row)
{
- uint id = row.tag;
+ uint64 id = row.tag;
lastRow = row;
if(list.currentRow != row)
DebugLn("TableEditor::SelectListRow");
if(row)
{
- selectedId = row.tag;
+ // TOFIX: Id is still 32-bit; Also the warning without this cast seems wrong (It says row.tag is of type eda::Id, while it is int64)
+ selectedId = (Id)row.tag;
lastRow = row;
if(list.currentRow != row)
bool DataBox::NotifySelect(DropBox control, DataRow row, Modifiers mods)
{
- uint id = row ? row.tag : 0;
+ // TOFIX: Id is still 32 bit
+ uint id = (uint)(row ? row.tag : 0);
SetData(&id, mods.closingDropDown);
return true;
}