<commit_before>#include <stingray/toolkit/function_name_getter.h>


namespace stingray {
namespace Detail
{
	std::string FuncPtrToString(intptr_t* ptrptr, size_t n)
	{
		char buf[32];
		int size = 0;
		if (n > 1) n = 1; // =(((
		for (size_t i = 0; i < n; ++i)
			size += snprintf(buf + size, sizeof(buf) - size, "0x%08x", ptrptr[i]);
		return buf;
	}
}}
<commit_msg>fixed compiler warning<commit_after>#include <stingray/toolkit/function_name_getter.h>


namespace stingray {
namespace Detail
{
	std::string FuncPtrToString(intptr_t* ptrptr, size_t n)
	{
		char buf[32];
		int size = 0;
		if (n > 1) n = 1; // =(((
		for (size_t i = 0; i < n; ++i)
			size += snprintf(buf + size, sizeof(buf) - size, "0x%08lx", (long)ptrptr[i]);
		return buf;
	}
}}

{'fraction_non_alphanumeric': 0.17066666666666666, 'fraction_numerical': 0.024, 'mean_word_length': 3.8451612903225807, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2453027', 'n_tokens_mistral': 343, 'n_tokens_neox': 311, 'n_words': 76}