git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] fix an 'dubious one-bit signed bitfield' error

From
Ramsay Jones <ramsay@ramsayjones.plus.com>
Date
Nov 3, 2017, 17:05 UTC
Message-ID
<7b066cbc-416b-b870-5fd5-3673ece036f8@ramsayjones.plus.com>
Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
---
Hi Jeff,

If you need to re-roll your 'jh/object-filtering' branch, could you please squash this into the relevant commit (b87fd93d81, "list-objects: filter objects in traverse_commit_list", 02-11-2017).

[This error was issued by sparse]
Thanks!

ATB, Ramsay Jones

 list-objects-filter.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/list-objects-filter.c b/list-objects-filter.c
index 7f2842547..d9e626be8 100644
--- a/list-objects-filter.c
+++ b/list-objects-filter.c
@@ -191,7 +191,7 @@ static void *filter_blobs_limit__init(
  */
 struct frame {
 	int defval;
-	int child_prov_omit : 1;
+	unsigned int child_prov_omit : 1;
 };
 
 struct filter_sparse_data {
-- 
2.15.0
Next: Jeff Hostetler
Message 1 of 2 in “fix an 'dubious one-bit signed bitfield' error”
  1. fix an 'dubious one-bit signed bitfield' errorRamsay Jones, Nov 3, 2017
  2. Jeff HostetlerNov 3, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.