Skip to content

Instantly share code, notes, and snippets.

@nickgarvey
Created July 9, 2014 06:06
Show Gist options
  • Save nickgarvey/dc5133ad63bfc3a6a31d to your computer and use it in GitHub Desktop.
Save nickgarvey/dc5133ad63bfc3a6a31d to your computer and use it in GitHub Desktop.
diff --git a/prot/rnaTranslation.c b/prot/rnaTranslation.c
index cb89e33..fd63acf 100644
--- a/prot/rnaTranslation.c
+++ b/prot/rnaTranslation.c
@@ -76,7 +76,7 @@ int main(){
if(result == 'Z'){
break;
}
- printf("%s", result);
+ printf("%c", result);
//Result here is an integer instead of a char... why.
}
printf("\n");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment