Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compiler warnings for -Wenum-float-conversion #1284

Merged
merged 1 commit into from Nov 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/article/drawareabase.cpp
Expand Up @@ -54,10 +54,11 @@

using namespace ARTICLE;


static constexpr int AUTOSCR_CIRCLE = 24; ///< オートスクロールの時のサークルの大きさ

enum
{
AUTOSCR_CIRCLE = 24, // オートスクロールの時のサークルの大きさ

BIG_HEIGHT = 100000000,

LAYOUT_MIN_HEIGHT = 2, // viewの高さがこの値よりも小さい時はリサイズしていないと考える
Expand Down
4 changes: 2 additions & 2 deletions src/global.h
Expand Up @@ -12,10 +12,10 @@ enum{
TIMER_TIMEOUT_SMOOTH_SCROLL = 33, // msec スレビューのスムーススクロール描画用クロック周期

MAX_MG_LNG = 5, // マウスジェスチャの最大ストローク

ICON_SIZE = 32 // 画像アイコンの大きさ
};

static constexpr const int ICON_SIZE = 32; // 画像アイコンの大きさ


// 書き込みビューの名前欄の空白
#define JD_NAME_BLANK "jd_name_blank"
Expand Down