Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cextras: update to new main #297

Merged
merged 1 commit into from
Sep 6, 2024
Merged

cextras: update to new main #297

merged 1 commit into from
Sep 6, 2024

Commits on Sep 6, 2024

  1. cextras: update to new main

    This update fixes a malbehaviour on 32bit systems, where the cextras
    library would calculate the wrong size for array resizing.
    
    The corresponding commit in cextras is 2777280db867664211f072fc4bd6173a781ec8d4.
    
    	 			return -CX_ERR_INTEGER_OVERFLOW;
    	 		}
    	 		// Set the bit at the position of the first 0 to 1
    	-		*val = 1ULL << (sizeof(size_t) * 8 - leading_zeros);
    	+		*val = 1ULL << (sizeof(long long) * 8 - leading_zeros);
    	 	}
    	 	return 0;
    	 }
    
    Gottox/cextras@2777280
    Gottox committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    d460410 View commit details
    Browse the repository at this point in the history