- add some documentation items
- fix some spelling
- fix some warnings

diff --git a/graphics/d3dtexture.c b/graphics/d3dtexture.c
index 572cc25..47e95bb 100644
--- a/graphics/d3dtexture.c
+++ b/graphics/d3dtexture.c
@@ -280,7 +280,7 @@
     glGenTextures(1, &(This->tex_name));
   LEAVE_GL();
 
-  TRACE("OpenGL texture handle is : %ld\n", This->tex_name);
+  TRACE("OpenGL texture handle is : %d\n", This->tex_name);
   
   return D3D_OK;
 }
@@ -323,7 +323,7 @@
   glGenTextures(1, &(This->tex_name));
   LEAVE_GL();
 
-  TRACE("OpenGL texture handle is : %ld\n", This->tex_name);
+  TRACE("OpenGL texture handle is : %d\n", This->tex_name);
   
   return D3D_OK;
 }