Skip to content

Commit

Permalink
Reformat with clang format
Browse files Browse the repository at this point in the history
Signed-off-by: William Douglas <[email protected]>
  • Loading branch information
bryteise committed Nov 17, 2024
1 parent f0693b5 commit 759fef8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/swupd_lib/manifest_parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ uint64_t get_opt_level_mask(void)
opt_level_mask = (SSE << 8) | SSE;
} else {
/* Otherwise just remove AVX2 support from the flags */
opt_level_mask &= (uint64_t) ~(1 << AVX2);
opt_level_mask &= (uint64_t)~(1 << AVX2);
}
}

Expand Down
4 changes: 2 additions & 2 deletions src/swupd_lib/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
int get_int_from_url(const char *url)
{
int err, value;
char tmp_string[MAX_VERSION_STR_SIZE+1];
char tmp_string[MAX_VERSION_STR_SIZE + 1];
struct curl_file_data tmp_data = {
MAX_VERSION_STR_SIZE, 0,
tmp_string
Expand Down Expand Up @@ -151,7 +151,7 @@ static int get_version_from_url_inmemory(char *url)
{
int ret = 0;
int err = 0;
char version_str[MAX_VERSION_STR_SIZE+1];
char version_str[MAX_VERSION_STR_SIZE + 1];
int sig_verified = 0;

/* struct for version data */
Expand Down

0 comments on commit 759fef8

Please sign in to comment.