mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
build: fix warnings
* escher/src/text_area.cpp:113:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] * liba/src/external/openbsd/k_rem_pio2f.c:66:54: disable -Wmisleading-indentation
This commit is contained in:
committed by
Adrien Bertrand
parent
a3c3b0bfa9
commit
f34bf67bab
@@ -110,7 +110,7 @@ int TextArea::Text::removeRemainingLine(size_t index, int direction) {
|
||||
/* We stop at m_bufferSize-1 because:
|
||||
* - if direction > 0: jump >= k+1 so we will reach the 0 before m_bufferSize-1
|
||||
* - if direction < 0: k+1 will reach m_bufferSize. */
|
||||
for (int k = index; k < m_bufferSize-1; k++) {
|
||||
for (size_t k = index; k < m_bufferSize-1; k++) {
|
||||
if (direction > 0) {
|
||||
m_buffer[k] = m_buffer[jump++];
|
||||
} else {
|
||||
|
||||
@@ -117,6 +117,7 @@ liba/src/external/openbsd/e_pow.o: CFLAGS += -w
|
||||
liba/src/external/openbsd/e_rem_pio2.o: CFLAGS += -w
|
||||
liba/src/external/openbsd/e_sinh.o: CFLAGS += -w
|
||||
liba/src/external/openbsd/k_rem_pio2.o: CFLAGS += -w
|
||||
liba/src/external/openbsd/k_rem_pio2f.o: CFLAGS += -w
|
||||
liba/src/external/openbsd/s_asinh.o: CFLAGS += -w
|
||||
liba/src/external/openbsd/s_log1p.o: CFLAGS += -w
|
||||
liba/src/external/openbsd/s_scalbn.o: CFLAGS += -w
|
||||
|
||||
Reference in New Issue
Block a user