summaryrefslogtreecommitdiff
path: root/fluid/code.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2025-03-07 01:15:57 +0100
committerMatthias Melcher <github@matthiasm.com>2025-03-07 01:15:57 +0100
commit6acda521ccaa448eeb26f81a2432da586bed9b30 (patch)
treec5cdcca4e341539a0165a74b59a916922ccccb40 /fluid/code.cxx
parent063ff67fcdd6976be214b6fb519d45c650d5498c (diff)
Removes the remaining references to Fl_String.
Still to do: rename fl_filename... to fl_filename..._str and introduce into core library.
Diffstat (limited to 'fluid/code.cxx')
-rw-r--r--fluid/code.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/fluid/code.cxx b/fluid/code.cxx
index 0e715441a..3c789abd3 100644
--- a/fluid/code.cxx
+++ b/fluid/code.cxx
@@ -798,7 +798,7 @@ int Fd_Code_Writer::write_code(const char *s, const char *t, bool to_codeview) {
// Remember the last code file location for MergeBack
if (s && g_project.write_mergeback_data && !to_codeview) {
std::string proj_filename = g_project.projectfile_path() + g_project.projectfile_name();
- int i, n = proj_filename.size();
+ int i, n = (int)proj_filename.size();
for (i=0; i<n; i++) if (proj_filename[i]=='\\') proj_filename[i] = '/';
Fl_Preferences build_records(Fl_Preferences::USER_L, "fltk.org", "fluid-build");
Fl_Preferences path(build_records, proj_filename.c_str());