Skip to content

Commit

Permalink
MSVC verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesLorenz committed Oct 28, 2023
1 parent d00b15f commit 866b7f6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ccpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
config:
- {
name: "Windows MSVC",
enabled: 1,
os: windows-latest,
deps: "",
config: "cmake .",
Expand All @@ -20,6 +21,7 @@ jobs:
}
- {
name: "Ubuntu gcc",
enabled: 0,
os: ubuntu-latest,
deps: "sudo apt-get install liblo-dev",
config: "mkdir build && cd build && cmake ..",
Expand All @@ -28,13 +30,15 @@ jobs:
}
- {
name: "macOS clang",
enabled: 0,
os: macos-latest,
deps: "",
config: "mkdir build && cd build && cmake ..",
build: "cd build && make",
test: "cd build && ctest --output-on-failure"
}

if: ${{matrix.config.enabled}}
steps:
- uses: actions/checkout@v1
- name: install_deps
Expand Down
4 changes: 2 additions & 2 deletions src/rtosc-time.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ rtosc_arg_val_t *rtosc_arg_val_from_params(rtosc_arg_val_t *dest,

uint64_t rtosc_float2secfracs(float secfracsf)
{
char secfracs_as_hex[32];
char secfracs_as_hex[16];
// print float in hex representation (lossless)
int written = snprintf(secfracs_as_hex, 32, "%a", secfracsf);
int written = snprintf(secfracs_as_hex, 16, "%a", secfracsf);
// examples:
// 0.85 => 0x1.b33334p-1
// 0.51 => 0x1.051eb8p-1
Expand Down

0 comments on commit 866b7f6

Please sign in to comment.