Skip to content

Update system.c#7

Open
mephistolist wants to merge 1 commit intoSoviet-Linux:mainfrom
mephistolist:main
Open

Update system.c#7
mephistolist wants to merge 1 commit intoSoviet-Linux:mainfrom
mephistolist:main

Conversation

@mephistolist
Copy link

Noticed this warning when using a custom Makefile:

src/system.c: In function ‘relpath’:
src/system.c:164:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
164 | for (int j = 0; j < strlen(part_path); j++) {
| ^

I made adjustments to resolve this.

Noticed this warning when using a custom Makefile:

src/system.c: In function ‘relpath’:
src/system.c:164:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  164 |     for (int j = 0; j < strlen(part_path); j++) {
      |                       ^

I made adjustments to resolve this.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant