Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
8e14b84e
Commit
8e14b84e
authored
3 months ago
by
Deucе
Browse files
Options
Downloads
Patches
Plain Diff
What kind of monster puts a size_t after a uint8_t in a struct?
parent
89d74a14
No related branches found
No related tags found
No related merge requests found
Pipeline
#7618
passed
3 months ago
Stage: build
Stage: test
Stage: cleanup
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/encode/lzh.c
+2
-2
2 additions, 2 deletions
src/encode/lzh.c
with
2 additions
and
2 deletions
src/encode/lzh.c
+
2
−
2
View file @
8e14b84e
...
...
@@ -52,16 +52,17 @@ typedef struct {
/* Converted from global variables to struct Apr-21-2003 */
typedef struct {
size_t outsz;
huffman_t huff;
uint16_t getbuf; /* Was just "unsigned" fixed 04/12/95 */
uint8_t text_buf[LZH_STRBUF_SZ];
uint8_t getlen;
size_t outsz;
} lzh_decode_t;
typedef struct {
size_t outsz;
uint32_t putbuf;
huffman_t huff;
uint16_t lchild[LZH_STRBUF_SZ + 1];
...
...
@@ -71,7 +72,6 @@ typedef struct {
uint16_t match_length;
uint8_t text_buf[LZH_STRBUF_SZ + LZH_LOOKAHD_SZ - 1];
uint8_t putlen;
size_t outsz;
} lzh_encode_t;
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment