Skip to content

Commit 4a0243f

Browse files
committed
Avoid warnings about implicit widening of multiplication result
from clang-tidy
1 parent 64d4c96 commit 4a0243f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/db-copy.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ struct db_cmd_copy_t
145145
* to speed up processing. Currently a one-size fits all value.
146146
* Needs more testing and individual values per queue.
147147
*/
148-
static constexpr std::size_t MAX_BUF_SIZE = 10 * 1024 * 1024;
148+
static constexpr std::size_t MAX_BUF_SIZE = 10UL * 1024UL * 1024UL;
149149

150150
/**
151151
* Maximum length of the queue with COPY data.

0 commit comments

Comments
 (0)