projects
/
dosdemo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed bug introduced by the last bugfix
[dosdemo]
/
src
/
dos
/
djdpmi.c
diff --git
a/src/dos/djdpmi.c
b/src/dos/djdpmi.c
index
69e7b56
..
f3a06b9
100644
(file)
--- a/
src/dos/djdpmi.c
+++ b/
src/dos/djdpmi.c
@@
-9,7
+9,7
@@
uint16_t dpmi_alloc(unsigned int par, uint16_t *sel)
int tmp;
uint16_t seg = __dpmi_allocate_dos_memory(par, &tmp);
*sel = tmp;
- return tmp;
+ return seg;
}
void dpmi_free(uint16_t sel)