Get app_server working on x86_64.
With this commit, app_server now compiles and runs at boot! Nothing particularly interesting happens, just the blue background and a mouse pointer. Remote backends are broken and not compiled in, see #8834. Note that it won't be possible to build this quite yet, need to get the FreeType package uploaded.
This commit is contained in:
@@ -293,7 +293,7 @@ DesktopSettingsPrivate::_Load()
|
||||
// colors
|
||||
for (int32 i = 0; i < kNumColors; i++) {
|
||||
char colorName[12];
|
||||
snprintf(colorName, sizeof(colorName), "color%ld",
|
||||
snprintf(colorName, sizeof(colorName), "color%" B_PRId32,
|
||||
(int32)index_to_color_which(i));
|
||||
|
||||
settings.FindInt32(colorName, (int32*)&fShared.colors[i]);
|
||||
@@ -438,7 +438,7 @@ DesktopSettingsPrivate::Save(uint32 mask)
|
||||
|
||||
for (int32 i = 0; i < kNumColors; i++) {
|
||||
char colorName[12];
|
||||
snprintf(colorName, sizeof(colorName), "color%ld",
|
||||
snprintf(colorName, sizeof(colorName), "color%" B_PRId32,
|
||||
(int32)index_to_color_which(i));
|
||||
settings.AddInt32(colorName, (const int32&)fShared.colors[i]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user