Skip to content

Commit

Permalink
add Windows clang badge
Browse files Browse the repository at this point in the history
  • Loading branch information
boazsegev committed Oct 18, 2024
1 parent a087ad1 commit 3ed9e1b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# facil.io 0.8.x - The C Server Toolbox Library (C STL)

[![POSIX C/C++ CI](https://github.com/facil-io/cstl/actions/workflows/c-cpp.yml/badge.svg)](https://github.com/facil-io/cstl/actions/workflows/c-cpp.yml) [![Windows C/C++ CI](https://github.com/facil-io/cstl/actions/workflows/windows.yml/badge.svg)](https://github.com/facil-io/cstl/actions/workflows/windows.yml)
[![POSIX C/C++ CI](https://github.com/facil-io/cstl/actions/workflows/c-cpp.yml/badge.svg)](https://github.com/facil-io/cstl/actions/workflows/c-cpp.yml) [![Windows C/C++ CI](https://github.com/facil-io/cstl/actions/workflows/windows.yml/badge.svg)](https://github.com/facil-io/cstl/actions/workflows/windows.yml) [![Windows Clang CI](https://github.com/facil-io/cstl/actions/workflows/windows_clang.yml/badge.svg)](https://github.com/facil-io/cstl/actions/workflows/windows_clang.yml)

> **The [facil.io](http://facil.io) C STL aims to provide C developers with easy-to-use tools to write memory safe and performant programs**.
Expand Down
10 changes: 5 additions & 5 deletions fio-stl.h
Original file line number Diff line number Diff line change
Expand Up @@ -47146,7 +47146,7 @@ FIO_SFUNC void FIO_NAME_TEST(stl, atol)(void) {
double d_; \
uint64_t as_i; \
} pn, pn1, pn2; \
pn2.d_ = d; \
pn2.d_ = (double)d; \
char *p = (char *)(s); \
char *p1 = (char *)(s); \
char *p2 = (char *)(s); \
Expand Down Expand Up @@ -47184,10 +47184,10 @@ FIO_SFUNC void FIO_NAME_TEST(stl, atol)(void) {
s, \
r2, \
std); \
} else if (r == 0.0 && d != 0.0 && !isnan((double)d)) { \
} else if (r == 0.0 && (double)d != 0.0 && !isnan((double)d)) { \
if (FIO_LOG_LEVEL == FIO_LOG_LEVEL_DEBUG) \
FIO_LOG_WARNING("float range limit marked before: %s\n", s); \
} else if (r2 == 0.0 && d != 0.0 && !isnan((double)d)) { \
} else if (r2 == 0.0 && (double)d != 0.0 && !isnan((double)d)) { \
if (FIO_LOG_LEVEL == FIO_LOG_LEVEL_DEBUG) \
FIO_LOG_WARNING("aton float range limit marked before: %s\n", s); \
} else { \
Expand Down Expand Up @@ -47373,7 +47373,7 @@ FIO_SFUNC void FIO_NAME_TEST(stl, atol)(void) {
stop = clock();
fprintf(stderr,
"* fio_atol speed test completed in %zu cycles\n",
stop - start);
(size_t)(stop - start));
r = 0;

start = clock();
Expand All @@ -47386,7 +47386,7 @@ FIO_SFUNC void FIO_NAME_TEST(stl, atol)(void) {
stop = clock();
fprintf(stderr,
"* system atol speed test completed in %zu cycles\n",
stop - start);
(size_t)(stop - start));
}
#endif /* !DEBUG */
}
Expand Down
10 changes: 5 additions & 5 deletions fio-stl/902 atol.h
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ FIO_SFUNC void FIO_NAME_TEST(stl, atol)(void) {
double d_; \
uint64_t as_i; \
} pn, pn1, pn2; \
pn2.d_ = d; \
pn2.d_ = (double)d; \
char *p = (char *)(s); \
char *p1 = (char *)(s); \
char *p2 = (char *)(s); \
Expand Down Expand Up @@ -590,10 +590,10 @@ FIO_SFUNC void FIO_NAME_TEST(stl, atol)(void) {
s, \
r2, \
std); \
} else if (r == 0.0 && d != 0.0 && !isnan((double)d)) { \
} else if (r == 0.0 && (double)d != 0.0 && !isnan((double)d)) { \
if (FIO_LOG_LEVEL == FIO_LOG_LEVEL_DEBUG) \
FIO_LOG_WARNING("float range limit marked before: %s\n", s); \
} else if (r2 == 0.0 && d != 0.0 && !isnan((double)d)) { \
} else if (r2 == 0.0 && (double)d != 0.0 && !isnan((double)d)) { \
if (FIO_LOG_LEVEL == FIO_LOG_LEVEL_DEBUG) \
FIO_LOG_WARNING("aton float range limit marked before: %s\n", s); \
} else { \
Expand Down Expand Up @@ -779,7 +779,7 @@ FIO_SFUNC void FIO_NAME_TEST(stl, atol)(void) {
stop = clock();
fprintf(stderr,
"* fio_atol speed test completed in %zu cycles\n",
stop - start);
(size_t)(stop - start));
r = 0;

start = clock();
Expand All @@ -792,7 +792,7 @@ FIO_SFUNC void FIO_NAME_TEST(stl, atol)(void) {
stop = clock();
fprintf(stderr,
"* system atol speed test completed in %zu cycles\n",
stop - start);
(size_t)(stop - start));
}
#endif /* !DEBUG */
}
Expand Down

0 comments on commit 3ed9e1b

Please sign in to comment.