// ---------------------------------------------------------------------------
static bool gs_wxClipboardIsOpen = false;
// ---------------------------------------------------------------------------
static bool gs_wxClipboardIsOpen = false;
// string when you overwrite it so you follow up with code to replace
// the 0 appended at the end with a '\r'...
char *ptr = strstr(buf, "StartHTML");
// string when you overwrite it so you follow up with code to replace
// the 0 appended at the end with a '\r'...
char *ptr = strstr(buf, "StartHTML");
- sprintf(ptr+10, "%08u", strstr(buf, "<html>") - buf);
+ sprintf(ptr+10, "%08u", (unsigned)(strstr(buf, "<html>") - buf));
- sprintf(ptr+14, "%08u", strstr(buf, "<!--StartFrag") - buf);
+ sprintf(ptr+14, "%08u", (unsigned)(strstr(buf, "<!--StartFrag") - buf));
- sprintf(ptr+12, "%08u", strstr(buf, "<!--EndFrag") - buf);
+ sprintf(ptr+12, "%08u", (unsigned)(strstr(buf, "<!--EndFrag") - buf));
// if the format is not available, try the next one
// this test includes implicit / sythetic formats
if ( !::IsClipboardFormatAvailable(cf) )
// if the format is not available, try the next one
// this test includes implicit / sythetic formats
if ( !::IsClipboardFormatAvailable(cf) )