Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita5f76ed

Browse files
author
Oleg Ivanov
committed
Fixed Windows compatibility
1 parent1c6b18f commita5f76ed

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

‎contrib/aqo/utils.c

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,15 @@ double_cmp(const void *a, const void *b)
4141
return0;
4242
}
4343

44+
/*
45+
* Compares elements for two given indexes
46+
*/
4447
int
4548
argsort_cmp(constvoid*a,constvoid*b)
4649
{
47-
return (*argsort_value_cmp) ((uint8_t*)argsort_a+
50+
return (*argsort_value_cmp) ((char*)argsort_a+
4851
*((int*)a)*argsort_es,
49-
(uint8_t*)argsort_a+
52+
(char*)argsort_a+
5053
*((int*)b)*argsort_es);
5154
}
5255

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp