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

Packed string indexing bug (LODB.I / STRB.I issue) #8

Closed
testname1 opened this issue Apr 15, 2012 · 1 comment
Closed

Packed string indexing bug (LODB.I / STRB.I issue) #8

testname1 opened this issue Apr 15, 2012 · 1 comment
Labels

Comments

@testname1
Copy link

#include <a_samp>
new mas[1 char];

main()
{
    mas{0}=1;
    printf("%d",mas{0});
}

Выдаёт вместо 1 - 134217728

Написал заного, т.к. ты удалил свои аккаунты на форуме и возможно это потерялось у тебя

@testname1
Copy link
Author

#include <a_samp>
new mas[1 char];

main()
{
mas{0}=1;
printf("qwe");
printf("%d",mas{0});
}

На данный момент строку qwe пропускает а значение выдаёт 16777216

Zeex added a commit that referenced this issue Apr 16, 2012
This adds several missing break; statements in both ops and
replaces mov with movzx in LODB.I.

This should finally fix issue #8 "Массивы типа char".
@Zeex Zeex closed this as completed Apr 16, 2012
@vulturm vulturm mentioned this issue Apr 30, 2012
Zeex added a commit that referenced this issue Nov 26, 2012
This adds several missing break; statements in both ops and
replaces mov with movzx in LODB.I.

This should finally fix issue #8 "Массивы типа char".
Zeex added a commit that referenced this issue Jan 8, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants